RegisterMoveParms object

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

Property Data type Notes

constrainAngles

Boolean

Determines whether dragging the control point constrains the angles to the minAngle and maxAngle values.

constrainRotateKey

string

Pass in the key that you want to use to constrain the rotation. A value of "none" means that rotation will not be constrained. A value of "shiftKey" means that when the user holds downs the Shift key while dragging the mouse, rotation will be constrained. The value can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey".

Note: these points are set with minAngle and maxAngle.

constrainX

float

The value to constrain the x coordinate.

Note: the method constrainXKey must be used with this method.

constrainXKey

string

Pass in the key that you want to use to constrain the x-coordinate value. A value of "none" means that x will not be constrained. A value of "shiftKey" means that when the user holds downs the Shift key while dragging the mouse, x will be constrained. The value can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey".

constrainY

 

The value to constrain the y coordinate.

Note: the method constrainYKey must be used with this method.

constrainYKey

 

Pass in the key that you want to use to constrain the y-coordinate value. A value of "none" means that y will not be constrained. A value of "shiftKey" means that when the user holds downs the Shift key while dragging the mouse, the value of y will be constrained. The value can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey".

constrain45Key

string

The key value that you want to use to constrain movement to the nearest 45º increment. Can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey".

A key value of "none" means dragging will not be constrained, "shiftKey" (or other value) means that when the user holds downs Shift key (or other value) while dragging, movement will be constrained.

constrain90Key

string

The key value that you want to use to constrain movement to the nearest 90º increment. Can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey".

A key value of "none" means dragging will not be constrained, "shiftKey" (or other key) means that when the user holds downs the Shift key (or other key) while dragging, movement will be constrained.

deltaLinearToLinear

float

Determines the ratio of mouse movement to point movement along the line. For example, a value of 1.0 means that if the mouse moves 1 pixel, the point moves 1 pixel along the line specified in the method RegisterLinearMove.

deltaRtoR

float

Determines the mouse radius change relative to the point radius change. For example, a value of 1.0 means that as the mouse moves 1 pixel away from the center of the object, the point also moves 1 pixel away from the center of the object.

deltaShortestSideToX

float

The ratio of shortest mouse movement to the movement of referenced point's x coordinate.

deltaShortestSideToY

float

The ratio of shortest mouse movement to the movement of referenced point's y coordinate.

deltaLongestSideToX

float

The ratio of longest mouse movement to the movement of referenced point's x coordinate.

deltaLongestSideToY

float

The ratio of longest mouse movement to the movement of referenced point's y coordinate.

deltaXtoX

float

The ratio of mouse movement to the movement of the referenced point's x coordinate. For example, 1.0 means that when the mouse moves 1 pixel to the right, the referenced point also moves 1 pixel to the right.

deltaXtoY

float

The ratio of mouse movement on the x-axis to the movement of the referenced point's y coordinate. For example, 1.0 means that when the mouse moves 1 pixel to the left, the referenced point moves 1 pixel towards the top of the document.

deltaYtoX

float

The ratio of mouse movement on the y-axis to the movement of the referenced point's x coordinate. For example, 1.0 means that when the mouse moves 1 pixel to the top of the document, the refenced point moves 1 pixel to the left.

deltaYtoY

float

The ratio of mouse movement to the movement of the referenced point's y coordinate. For example, 1.0 means that when the mouse moves 1 pixel toward the bottom of the document, the referenced point also moves 1 pixel toward the bottom of the document.

disableRotateKey

string

Pass in the key that you want to use to disable rotating around the center. The value can be one of the following: "none", "shiftKey", "ctrlCmdKey", "altOptKey". A value of "none" means rotation will not be constrained. A value of "shiftKey" means that when the user holds downs the Shift key while dragging the mouse, rotation is not constrained.

incrementRadius

float

Constant value that is added to the radius.

incrementX

float

This amount is added to the x movement of the mouse when calculating the total movement.

incrementY

float

This amount is added to the y movement of the mouse when calculating the total movement.

maxAngle

point

The maximum angle that can be set.

maxLinear

float

Determines the maximum amount the point can move along a line.

maxRadius

float

The maximum radius value.

maxX

float

The maximum value the x coordinate can move.

maxY

float

The maximum value the y coordinate can move.

minAngle

point

The minimum angle that can be set.

minLinear

float

The minimum amount the point can move along a line.

minMaxRelative

Boolean

Determines whether the min and max values are relative or absolute. For example, if max.x=100 and minMaxRelative is true, then x can move up 100 points to the right. If minMaxRelative is set to false then the maximum x can be set to is 100.

minX

float

The minimum value the x coordinate can move.

minY

float

The minimum value the y coordinate can move.

minRadius

float

The minimum radius value.

movePred

Boolean

Determines whether the predecessor point should be moved as the user moves the mouse.

movePt

Boolean

Determines whether the point itself should be moved as the user moves the mouse.

moveSucc

Boolean

Determines whether the successor point should be moved as the user moves the mouse.

rotate

Boolean

Determines whether the point should rotate along with the mouse rotation.


 

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