Document functions
281
dom.setQuadrangle()
Availability
Fireworks 3.
Usage
dom.setQuadrangle(
pTopLeft
,
pTopRight
,
pBottomRight
,
pBottomLeft
,
options
)
Arguments
pTopLeft
,
pTopRight
,
pBottomRight
,
and
pBottomLeft
Relative coordinates of a
quadrangle expressed as percentages of an arbitrary square. These are not specific
x, y
coordinates.
options
Acceptable values are
"transformAttributes"
,
"autoTrimImages"
, and
"autoTrimImages transformAttributes"
.
Returns
Nothing.
Description
Creates a bounding quadrangle based on percentages of an arbitrary square, and then
transforms the selection within the 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.
Example
The following command performs the transform operation on the selection within the
specified points:
fw.getDocumentDOM().setQuadrangle({x:-0.300884962, y:0.207964599}, {x:1,
y:0.207964599}, {x:1, y:0.792035401}, {x:-0.300884962, y:0.792035401},
"autoTrimImages transformAttributes");
dom.setRectRoundness()
Availability
Fireworks 4.
Usage
dom.setRectRoundness(
roundness
)
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...