Package | com.boostworthy.geom |
Class | public class Line |
Inheritance | Line ![]() |
Method | Defined by | ||
---|---|---|---|
Line(objStart:Point, objEnd:Point)
Constructor.
| Line | ||
Clones this object.
| Line | ||
![]() |
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 line into the specified graphics object.
| Line |
Line | () | constructor |
public function Line(objStart:Point, objEnd:Point)
Constructor.
ParametersobjStart:Point — The start point of the line.
|
|
objEnd:Point — The end point of the line.
|
clone | () | method |
public override function clone():IPathSegment
Clones this object.
ReturnsIPathSegment —
A new curve object that is a clone of this object.
|
draw | () | method |
public override function draw(objGraphics:Graphics):void
Uses the data stored by this object to draw a line into the specified graphics object.
ParametersobjGraphics:Graphics — The graphics object to draw the line into.
|