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)
Arguments
A floating-point value between 0 and 1 that specifies the roundness to use for the
roundness
corners (
is no roundness,
0
Returns
Nothing.
Description
Modifies the corner roundness of all the selected rectangle primitives.
See also
dom.addNewRectanglePrimitive(),
dom.setRectSides()
Availability
Fireworks 4.
Usage
dom.setRectSides(newSides)
Arguments
A rectangle that specifies the new untransformed sides of the rectangle primitive (see
newSides
"Rectangle data type" on page
user sees the transformed result of
Returns
Nothing.
Description
Modifies the untransformed sides of all selected rectangle primitives.
See also
dom.addNewRectanglePrimitive(),
222
Chapter 5: Fireworks JavaScript API
is 100% roundness).
1
dom.setRectSides()
11). Rectangle primitives remember their transformations, so the
in the document.
newSides
dom.setRectRoundness()
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers