Line

Line

The ‘Line’ class presents a data structure for representing a line.

Summary
LineThe ‘Line’ class presents a data structure for representing a line.
Functions
LineConstructor.
drawUses the data stored by this object to draw a line into the specified graphics object.
cloneClones this object.

Functions

Line

public function Line(objStart: Point,
objEnd: Point)

Constructor.

Parameters

param objStart The start point of the line.
param objEnd The end point of the line. 

draw

public override function draw(objGraphics: Graphics):void

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

Parameters

param objGraphics The graphics object to draw the line into. 

clone

public override function clone():IPathSegment

Clones this object.

Returns

A new curve object that is a clone of this object. 

The ‘Curve’ class presents a data structure for representing a curve.
public function Line(objStart: Point,
objEnd: Point)
Constructor.
public override function draw(objGraphics: Graphics):void
Uses the data stored by this object to draw a line into the specified graphics object.
public override function clone():IPathSegment
Clones this object.
Close