125
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.reversePathTextDirection()
Arguments
None.
Returns
Nothing.
Description
For all text-on-a-path items in the selection, it reverses the direction of the text along the path.
dom.rotateDocument()
Availability
Fireworks 3.
Usage
dom.rotateDocument(
rotationAmount
)
Arguments
rotationAmount
Acceptable values for
rotationAmount
are 90, 180, and 270.
Returns
Nothing.
Description
Rotates the entire document 90º, 180º, or 270º clockwise. Rotating 270º is the same behavior as rotating 90º
counterclockwise.
dom.rotateSelection()
Availability
Fireworks 3.
Usage
dom.rotateSelection(
rotationDegrees, opts
)
Arguments
rotationDegrees
A floating-point value that specifies the number of degrees to rotate the selection.
opts
Acceptable values are
"transformAttributes"
,
"autoTrimImages"
, and “
autoTrimImages
transformAttributes
“.
Returns
Nothing.