Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Polyline

Hierarchy

Implements

  • IHiccupShape
  • IHiccupPathSegment

Index

Constructors

constructor

  • new Polyline(points?: Vec[], attribs?: Attribs): Polyline

Properties

Optional attribs

attribs: Attribs

points

points: Vec[] = ...

Accessors

type

  • get type(): string

Methods

[Symbol.iterator]

  • [Symbol.iterator](): Generator<Vec, void, undefined>

copy

toHiccup

  • toHiccup(): (string | Vec[] | { fill: string })[]

toHiccupPathSegments

  • toHiccupPathSegments(): any[]

Generated using TypeDoc