Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PolyBezierSegment

Describes multiple bezier segments, including the last point of the previous segment. The number of points provided must be a multiple of two, since a single quadratic bezier segment is defined by two points.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

points

points: Point[]

Gets or sets the collection of points that define this segment.

Accessors

Private type

  • get type(): "polyBezier"
  • Returns "polyBezier"

Methods

Private serialize

  • serialize(target: BufferWriter): void
  • Parameters

    • target: BufferWriter

    Returns void

Static create

  • Returns the path segment that is defined by the specified description.

    Parameters

    Returns PathSegment

Static createPolyBezierSegment

  • Returns the poly bezier segment that is defined by the specified description.

    Parameters

    Returns PolyBezierSegment

Generated using TypeDoc