User Guide

184 Chapter 5: Fireworks JavaScript API
Returns
Nothing.
Description
Restores the selection that is specified in dom.saveSelection().
See also
dom.saveSelection()
dom.reversePathTextDirection()
Availability
Fireworks 3.
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.