Options
All
  • Public
  • Public/Protected
  • All
Menu

This path segment allows you to add a bezier curve to your Path.

A cubic curve has two control points. The first is at its starting point, the second is at its ending point. For more on cubic curves, see:

Cubic Curve Demo

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new CubicCurveToPathSegment(cx1: number, cy1: number, cx2: number, cy2: number, x: number, y: number): CubicCurveToPathSegment
  • Parameters

    • cx1: number

      x-coordinate of the first control point.

    • cy1: number

      y-coordinate of the first control point.

    • cx2: number

      x-coodrinate of the second control point.

    • cy2: number

      y-coordinate of the second control point.

    • x: number

      x-coordinate of the end point.

    • y: number

      y-coordinate of the end point.

    Returns CubicCurveToPathSegment

Accessors

cx1

cx1:

cx2

cx2:

cy1

cy1:

cy2

cy2:

x

x:

y

y:

Methods

toString

  • toString(): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc