
102
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Description
Moves the specified point’s Bézier handles by a certain amount.
dom.moveElementMaskBy()
Availability
Fireworks 4.
Usage
dom.moveElementMaskBy(
delta
)
Arguments
delta
A point that specifies the
x,y
coordinate values by which the element masks are moved (see “
Point data type
”
on page 8). For example, passing ({
x
:
1
,
y
:
2
}) moves the element masks 1 pixel to the right and 2 pixels down.
Returns
Nothing.
Description
For all the elements in the selection that have element masks (linked or unlinked), it moves the element masks by the
specified amount. Elements without element masks are ignored. If no elements in the selection have element masks,
an exception is thrown.
dom.moveFillVectorHandleBy()
Availability
Fireworks 3.
Usage
dom.moveFillVectorHandleBy(
delta, whichHandle, bConstrain, bMoveJustOne
)
Arguments
delta
A point that specifies the
x,y
coordinate values by which the handle is moved (see “
Point data type
” on page 8).
For example, passing
({
x
:
1
,
y
:
2})
specifies a location that is right by 1 pixel and down by 2 pixels.
whichHandle
Specifies which handle to move and can be one of the following values:
"start"
,
"end1"
,
"end2"
,
"rotate1"
, or
"rotate2"
. (Some fills ignore
"end2"
.) Use
"rotate1"
or
"rotate2"
to rotate the
end1
or
end2
point
around the start point.
bConstrain
Boolean. If
true
, movement is constrained to 45º increments.
bMoveJustOne
Boolean. If
true
, only the specified handle moves. If
false
, other handles might move in sync when
the specified handle is moved.
Returns
Nothing.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...