| Property | Defined by | ||
|---|---|---|---|
| bounds : Rectangle [read-only]
Calculate and return bounds rectangle.
| IParametric | ||
| end : Point
Last point of figure
| IParametric | ||
| isSegment : Boolean
Regime of line constraint.
| IParametric | ||
| length : Number [read-only]
Length of figure
| IParametric | ||
| start : Point
First control point of figure
| IParametric | ||
| Method | Defined by | ||
|---|---|---|---|
|
angleOffset(value:Number, fulcrum:Point = null):void
| IParametric | ||
|
getClosest(fromPoint:Point):Number
Calculate and return time-interator of point, nearer to given.
| IParametric | ||
|
getPoint(time:Number, point:Point = null):Point
Calculate and return 2-dimentional point by time-interator.
| IParametric | ||
|
getSegmentLength(time:Number):Number
Calculate and return length of segment from point
start
at point, given by parameter time;
| IParametric | ||
|
getTimeByDistance(distance:Number):Number
Calculate and return time-interator of point at distance from
start. | IParametric | ||
|
getTimesSequence(step:Number, startShift:Number = 0):Array
Calculate and return array of time-interators of points with given step.
| IParametric | ||
|
Calcilate and return intersection with Bezier curve
| IParametric | ||
|
Calcilate and return intersection with Line
| IParametric | ||
|
offset(dX:Number = 0, dY:Number = 0):void
Move object at given distance by X Y
| IParametric | ||
|
setPoint(time:Number, x:Number, y:Number):void
Change object, that point with given interator
apply coordinates, definite by parameters.
| IParametric | ||
|
toString():String
Calculate and return string presentation of object
| IParametric | ||
| bounds | property |
bounds:Rectangle [read-only]Calculate and return bounds rectangle.
Implementation public function get bounds():Rectangle
| end | property |
end:Point [read-write]Last point of figure
The default value is (0,0).
public function get end():Point
public function set end(value:Point):void
| isSegment | property |
isSegment:Boolean [read-write]Regime of line constraint.
The default value is true.
public function get isSegment():Boolean
public function set isSegment(value:Boolean):void
| length | property |
length:Number [read-only]Length of figure
Implementation public function get length():Number
| start | property |
start:Point [read-write]First control point of figure
The default value is (0,0).
public function get start():Point
public function set start(value:Point):void
| angleOffset | () | method |
public function angleOffset(value:Number, fulcrum:Point = null):voidParameters
value:Number |
|
fulcrum:Point (default = null) |
| getClosest | () | method |
public function getClosest(fromPoint:Point):NumberCalculate and return time-interator of point, nearer to given.
ParametersfromPoint:Point |
Number — Number
|
| getPoint | () | method |
public function getPoint(time:Number, point:Point = null):PointCalculate and return 2-dimentional point by time-interator.
Parameterstime:Number |
|
point:Point (default = null) |
Point — Point;
|
| getSegmentLength | () | method |
public function getSegmentLength(time:Number):Number
Calculate and return length of segment from point start
at point, given by parameter time;
time:Number |
Number — Number
|
| getTimeByDistance | () | method |
public function getTimeByDistance(distance:Number):Number
Calculate and return time-interator of point at distance from start.
distance:Number |
Number — Number;
|
| getTimesSequence | () | method |
public function getTimesSequence(step:Number, startShift:Number = 0):ArrayCalculate and return array of time-interators of points with given step.
Parametersstep:Number |
|
startShift:Number (default = 0) |
Array — Array;
|
| intersectionBezier | () | method |
public function intersectionBezier(target:Bezier):IntersectionCalcilate and return intersection with Bezier curve
Parameterstarget:Bezier |
Intersection —
Intersection
|
| intersectionLine | () | method |
public function intersectionLine(line:Line):IntersectionCalcilate and return intersection with Line
Parametersline:Line |
Intersection —
Intersection
|
| offset | () | method |
public function offset(dX:Number = 0, dY:Number = 0):voidMove object at given distance by X Y
ParametersdX:Number (default = 0) |
|
dY:Number (default = 0) |
| setPoint | () | method |
public function setPoint(time:Number, x:Number, y:Number):voidChange object, that point with given interator apply coordinates, definite by parameters.
Parameterstime:Number |
|
x:Number |
|
y:Number |
| toString | () | method |
public function toString():StringCalculate and return string presentation of object
ReturnsString — String
|