Helper class used by various spline Geometry.
public var CLOSED:Boolean
knots:Array [write-only]Implementation
public function set knots(value:Array):void
tension:Number [read-write]Implementation
public function get tension():Number
public function set tension(value:Number):void
public function BezierSplineControl()
public function construct():void
public function draw(_s:Shape, _c:Number):void
Parameters
| _s:Shape — - reference to Shape in which control cages are drawn
|
| |
| _c:Number — - hex color code for lines
|
public function getCage(_i:Number):CubicCage
Parameters
| _i:Number — - Control-cage index (i-th segment, not i-th knot), zero based
|
Returns
| CubicCage —
CubicCage - reference to control cage for cubic bezier curve at the specified segment.
|