166
Chapter 5: Fireworks JavaScript API
Arguments
delta
A point that specifies the
x,y
coordinate values by which the handle is moved (see
“Point
data type” on page 11
). 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
If the value of
bConstrain
is
true
, movement is constrained to 45º increments.
bMoveJustOne
If the value of
bMoveJustOne
is
true
, only the specified handle moves. If it is
false
, other handles might move in sync when the specified handle is moved.
Returns
Nothing.
Description
If the selection has a fill that uses a fill vector (for example, a gradient fill), this function adjusts
the handles of the fill vector. If the selection does not, this function has no effect.
dom.moveMaskGroupContentsBy()
Availability
Fireworks 3.
Usage
dom.moveMaskGroupContentsBy(
delta
)
Arguments
delta
A point that specifies the
x,y
coordinate values by which the element is moved (see
“Point
data type” on page 11
). For example, passing ({
x
:
1
,
y
:
2
}) moves the element 1 pixel to the right
and 2 pixels down.
Returns
Nothing.
Description
If the selection is a mask group, this function moves the contents within the mask group by the
specified amount. If the selected element has an element mask, this function moves the element
(not the element mask) by the specified amount.
See also
dom.moveElementMaskBy()
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...