Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QuadraticBezierSegment

Describes a quadratic bezier segment, using the last point of the previous segment as start point. In case you want to use multiple quadratic bezier segments consecutively, consider using the PolyQuadraticBezierSegment.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

control

control: Point

Gets or sets the control point of the bezier curve.

to

to: Point

Gets or sets the endpoint of the bezier curve.

Accessors

Private type

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

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 createQuadraticBezierSegment

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

    Parameters

    Returns QuadraticBezierSegment

Generated using TypeDoc