Packagecom.boostworthy.geom
Interfacepublic interface IPathSegment extends IDisposable
ImplementorsCurve

The 'IPathSegment' interface defines a common interface for all path segment objects.



Public Properties
 PropertyDefined by
  control : Point
[read-only] Gets the control point of the path segment.
IPathSegment
  end : Point
[read-only] Gets the end point of the path segment.
IPathSegment
  start : Point
[read-only] Gets the starting point of the path segment.
IPathSegment
Public Methods
 MethodDefined by
  
Clones this object.
IPathSegment
 Inherited
dispose():void
Performs any appropriate clean-up tasks for garbage collection such as removing event listeners, setting object references to 'null', etc.
IDisposable
  
draw(objGraphics:Graphics):void
Uses the data stored by this object to draw it into the specified graphics object.
IPathSegment
Property detail
controlproperty
control:Point  [read-only]

Gets the control point of the path segment.

Implementation
    public function get control():Point
endproperty 
end:Point  [read-only]

Gets the end point of the path segment.

Implementation
    public function get end():Point
startproperty 
start:Point  [read-only]

Gets the starting point of the path segment.

Implementation
    public function get start():Point
Method detail
clone()method
public function clone():IPathSegment

Clones this object.

Returns
IPathSegment — A new path segment that is a clone of this object.
draw()method 
public function draw(objGraphics:Graphics):void

Uses the data stored by this object to draw it into the specified graphics object.

Parameters
objGraphics:Graphics — The graphics object to draw the path segment into.