Represents a polyline in SVG.

Hierarchy (view full)

Constructors

Properties

Constructors

  • Initializes a new instance of the Elemnt class.

    Parameters

    • pointArray: Point[]

      Array of SvgPoint objects defining the polyline.

    • Optional xOffset: number = 0

      The x-axis offset.

    • Optional yOffset: number = 0

      The y-axis offset.

    • Optional fillColor: string = DEFAULT_FILL_COLOR

      The fill color.

    • Optional strokeColor: string = DEFAULT_STROKE_COLOR

      The stroke color.

    • Optional strokeWidth: number = DEFAULT_STROKE_WIDTH

      The stroke width.

    Returns Element

Properties

range: Range = ...

Keeping the range of the element so it could be hidden is not within working area

stringify: string = ""

String representation of the polyline.