ContourNode object

The following table lists the properties of the ContourNode object, along with their data types and, where appropriate, acceptable values and notes.

Property Data type Notes

dynamicInfo

array

Array of ContourNodeDynamicInfo objects on this ContourNode object (for more information, see ContourNodeDynamicInfo object).

isCurvePoint

Boolean

If set to true, this point's control points are constrained to be linear with the main point, which forces a smooth curve. If set to false, there are no constraints on the control points.

isSelectedPoint

Boolean

If set to true, this point was subselected (for example, by the subselection tool).

name

string

A unique name assigned to the object.

predX

float

The x coordinate of the contour node's preceding control point.

predY

float

The y coordinate of the contour node's preceding control point.

randomSeed

integer

0 to 65,535

succX

float

The x coordinate of the contour node's following control point.

succY

float

The y coordinate of the contour node's following control point.

x

float

The x coordinate of the contour node's main control point.

y

float

The y coordinate of the contour node's main control point.

The following table lists the methods of the ContourNode object, along with their parameters.

Method Parameter Definition

RegisterMove()

object

The RegisterMoveParms object containing the move parameters. Use smartShape.GetDefaultMoveParms() to obtain this object, then adjust properties as needed. For a list of properties, see RegisterMoveParms object.

RegisterLinearMove()

point

A point, which in combination with the node point, defines the line to move along.

 

object

The RegisterMoveParms object containing the move parameters. Use smartShape.GetDefaultMoveParms() to obtain this object, then adjust properties as needed. For a list of properties, see RegisterMoveParms object.

RegisterCircularMove()

point

The center point for the circular movement.

 

object

The RegisterMoveParms object containing the move parameters. Use smartShape.GetDefaultMoveParms() to obtain this object, then adjust properties as needed. For a list of properties, see RegisterMoveParms object.

RegisterPolygonMove()

point

The center point for the polygon.

 

object

The RegisterMoveParms object containing the move parameters. Use smartShape.GetDefaultMoveParms() to obtain this object, then adjust properties as needed. For a list of properties, see RegisterMoveParms object.


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_27.htm