ControlPoint object

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

Property Data type Notes

hiliteDragOverObject

Boolean

If true, Fireworks highlights an object when a control point is dragged over it.

index •

integer

Index for the control point.

name

string

Assigned name of the control point.

toolTip

string

Text to display when the user rolls the pointer (mouse) over the control point.

toolTipTracksDrag

Boolean

If true, the tooltip drags with the mouse.

type

string

Determines the way the control point draws. Values are: "default", "defaultInverted", "crossHair".

visible

Boolean

If true, the control point is visible to the user.

x

float

Value of the x coordinate.

y

float

Value of the y coordinate.

The following table lists the methods of the ControlPoint 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.

RegisterInsertBBoxMove()

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_29.htm