
262
EXTENDING FIREWORKS
Objects within Fireworks documents
Las
t
up
d
a
ted
12/8/2009
Pattern object
The following table lists the property of the Pattern object, along with its data type and notes.
RectanglePrimitive object
The following table lists the properties of the RectanglePrimitive object, along with their data types and, where
appropriate, acceptable values and notes.
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
name
string
The name that appears in the Fill panel.
Property
Data type
Notes
roundness
float
A floating-point value between
0
and
1
that specifies the
“roundness” to use for the corners (
0
is no roundness,
1
is 100%
roundness).
originalSides
rectangle
A rectangle that specifies the original sides of the primitive (see
“
Rectangle data type
” on page
8). Because rectangle primitives
remember transformations, the user might see something
different from the original sides.
mode
string
Specifies the roundness units, which can be relative
(percentage) or exact (pixels).
transform
matrix
A matrix that indicates all the transformations that were
applied to the primitive (see “
Matrix data type
” on page
8).
pathAttributes
object
A PathAttrs object that indicates the path attributes of the
primitive (see “
PathAttrs object
” on page
261).
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.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...