IPathSegment

IPathSegment

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

Summary
IPathSegmentThe ‘IPathSegment’ interface defines a common interface for all path segment objects.
Properties
startGets the starting point of the path segment.
endGets the end point of the path segment.
controlGets the control point of the path segment.
Functions
drawUses the data stored by this object to draw it into the specified graphics object.
cloneClones this object.

Properties

start

function get start():Point

Gets the starting point of the path segment.

Returns

A point object containing information about the point. 

end

function get end():Point

Gets the end point of the path segment.

Returns

A point object containing information about the point. 

control

function get control():Point

Gets the control point of the path segment.

Returns

A point object containing information about the point. 

Functions

draw

function draw(objGraphics: Graphics):void

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

Parameters

param objGraphics The graphics object to draw the path segment into. 

clone

function clone():IPathSegment

Clones this object.

Returns

A new path segment that is a clone of this object. 

The ‘IDisposable’ interface defines a common interface for all objects to encorporate garbage collection.
The ‘Curve’ class presents a data structure for representing a curve.
function get start():Point
Gets the starting point of the path segment.
function get end():Point
Gets the end point of the path segment.
function get control():Point
Gets the control point of the path segment.
function draw(objGraphics: Graphics):void
Uses the data stored by this object to draw it into the specified graphics object.
function clone():IPathSegment
Clones this object.
Close