User Guide

Document functions 221
dom.setOpacity()
Availability
Fireworks 3.
Usage
dom.setOpacity(opacity)
Arguments
opacity
A float variable between 0 and 100, inclusive.
Returns
Nothing.
Description
Sets the opacity of the selection to the specified value.
Example
The following command sets the selected item to an opacity of 55%.
fw.getDocumentDOM().setOpacity(55);
dom.setQuadrangle()
Availability
Fireworks 3.
Usage
dom.setQuadrangle(pTopLeft, pTopRight, pBottomRight, pBottomLeft, options)
Arguments
pTopLeft, pTopRight, pBottomRight,
and pBottomLeft Points that specify the x,y
coordinates of the top left, top right, bottom right, and bottom left points of the bounding
rectangle (see “Point data type” on page 11).
options Acceptable values are "transformAttributes", "autoTrimImages", and
"autoTrimImages transformAttributes".
Returns
Nothing.
Description
Transforms the selection within the specified bounding quadrangle. The effect is the same as
performing a transform operation within Fireworks, and then replaying the Transform step from
the History panel while other items are selected.