Document functions
223
dom.setSelectionBounds()
Availability
Fireworks 3.
Usage
dom.setSelectionBounds(
boundingRectangle
,
opts
)
Arguments
boundingRectangle
A rectangle that specifies the new location and size of the selection (see
“Rectangle data type” on page 11
).
opts
Acceptable values are
"transformAttributes"
,
"autoTrimImages"
, and
"autoTrimImages transformAttributes"
.
Returns
Nothing.
Description
Moves and resizes the selection in a single operation.
dom.setSelectionMask()
Availability
Fireworks 4.
Usage
dom.setSelectionMask(
mask
,
howToCombineMasks
)
Arguments
mask
Specifies the mask to be applied (see
“Mask data type” on page 11
). If
mask
is
null
, an
existing pixel-selection mask is removed.
howToCombineMasks
If there was previously a mask and
mask
is not
null
,
howToCombineMasks
specifies how the two masks should be combined. Acceptable values are
"replace", "add",
"subtract",
and
"intersect".
Returns
Nothing.
Description
If Fireworks is in bitmap mode, this function sets the pixel-selection mask of the current image to
the specified mask.
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...