Package | com.boostworthy.geom |
Class | public class Curve |
Implements | IPathSegment |
Subclasses | Line |
Property | Defined by | ||
---|---|---|---|
control : Point [read-only]
Gets the control point of the curve.
| Curve | ||
end : Point [read-only]
Gets the end point of the curve.
| Curve | ||
start : Point [read-only]
Gets the starting point of the curve.
| Curve |
Property | Defined by | ||
---|---|---|---|
m_objControl : Point
A point object for storing information about the control point of this curve.
| Curve | ||
m_objEnd : Point
A point object for storing information about the end point of this curve.
| Curve | ||
m_objStart : Point
A point object for storing information about the start point of this curve.
| Curve |
Method | Defined by | ||
---|---|---|---|
Curve(objStart:Point, objEnd:Point, objControl:Point)
Constructor.
| Curve | ||
Clones this object.
| Curve | ||
dispose():void
Performs any appropriate clean-up tasks for garbage collection such as
removing event listeners, setting object references to 'null', etc.
| Curve | ||
draw(objGraphics:Graphics):void
Uses the data stored by this object to draw a curve into the specified graphics object.
| Curve |
Method | Defined by | ||
---|---|---|---|
init(objStart:Point, objEnd:Point, objControl:Point):void
Initializes this object.
| Curve |
control | property |
control:Point
[read-only]Gets the control point of the curve.
Implementation public function get control():Point
end | property |
end:Point
[read-only]Gets the end point of the curve.
Implementation public function get end():Point
m_objControl | property |
protected var m_objControl:Point
A point object for storing information about the control point of this curve.
m_objEnd | property |
protected var m_objEnd:Point
A point object for storing information about the end point of this curve.
m_objStart | property |
protected var m_objStart:Point
A point object for storing information about the start point of this curve.
start | property |
start:Point
[read-only]Gets the starting point of the curve.
Implementation public function get start():Point
Curve | () | constructor |
public function Curve(objStart:Point, objEnd:Point, objControl:Point)
Constructor.
ParametersobjStart:Point — The start point of the curve.
|
|
objEnd:Point — The end point of the curve.
|
|
objControl:Point — The control point of the curve.
|
clone | () | method |
public function clone():IPathSegment
Clones this object.
ReturnsIPathSegment —
A new curve object that is a clone of this object.
|
dispose | () | method |
public function dispose():void
Performs any appropriate clean-up tasks for garbage collection such as removing event listeners, setting object references to 'null', etc.
draw | () | method |
public function draw(objGraphics:Graphics):void
Uses the data stored by this object to draw a curve into the specified graphics object.
ParametersobjGraphics:Graphics — The graphics object to draw the curve into.
|
init | () | method |
protected function init(objStart:Point, objEnd:Point, objControl:Point):void
Initializes this object.
ParametersobjStart:Point |
|
objEnd:Point |
|
objControl:Point |