User Guide

194 Fireworks JavaScript API
Returns
The mask for the current pixel selection. Returns null if Fireworks is not in bitmap mode, or
if there is no pixel selection. For information on the format of mask variables, see “Mask data
type” on page 11.
Description
Gets the current pixel-selection mask. The result of this call could be used to call
dom.enableElementMask()” on page 184 or dom.enterPaintMode()” on page 186.
dom.getSelectionBounds()
Availability
Fireworks 3.
Usage
dom.getSelectionBounds()
Arguments
None.
Returns
A rectangle (see “Rectangle data type” on page 12). Returns null if nothing is selected.
Description
Gets the bounding rectangle of the selection.
dom.getShowGrid()
Availability
Fireworks 3.
Usage
dom.getShowGrid()
Arguments
None.
Returns
true if the grid is visible; false otherwise.