User Guide

56 Chapter 2: The Fireworks Object Model
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 in conjunction 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 in conjunction 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".