![MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual Download Page 222](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-extending-dreamweaver/dreamweaver-mx-2004-extending-dreamweaver_manual_3335562222.webp)
222
Chapter 5: Fireworks JavaScript API
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
roundness
A floating-point value between 0 and 1 that specifies the roundness to use for the
corners (
0
is no roundness,
1
is 100% roundness).
Returns
Nothing.
Description
Modifies the corner roundness of all the selected rectangle primitives.
See also
dom.addNewRectanglePrimitive()
,
dom.setRectSides()
dom.setRectSides()
Availability
Fireworks 4.
Usage
dom.setRectSides(
newSides
)
Arguments
newSides
A rectangle that specifies the new untransformed sides of the rectangle primitive (see
“Rectangle data type” on page 11
). Rectangle primitives remember their transformations, so the
user sees the transformed result of
newSides
in the document.
Returns
Nothing.
Description
Modifies the untransformed sides of all selected rectangle primitives.
See also
dom.addNewRectanglePrimitive()
,
dom.setRectRoundness()
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...