Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

BezierPlugin.quadraticToCubic()

BezierPlugin.quadraticToCubic( a:Number, b:Number, c:Number ) : Object

[static] Returns the Cubic equivalent of a Quadratic Bezier.

Parameters

a: Number

The starting anchor value

b: Number

The control point value

c: Number

The ending anchor value

Returns : Object

An object with a, b, c, and d properties representing the starting anchor value (a), first control point (b), second control point (c), and ending anchor value (d) of a Cubic Bezier matching the Quadratic Bezier data passed in.

Details

Returns the Cubic equivalent of a Quadratic Bezier. This method returns an object with a, b, c, and d properties representing the starting anchor value (a), first control point (b), second control point (c), and ending anchor value (d) of a Cubic Bezier matching the Quadratic Bezier data passed in.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×