143
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Arguments
None.
Returns
Nothing.
Description
Resets the document’s brush and fill color to the default.
dom.setDefaultFillVector()
Availability
Fireworks 3.
Usage
dom.setDefaultFillVector()
Arguments
None.
Returns
Nothing.
Description
Sets the fill-vector on the selection to the default.
dom.setDocumentCanvasColor()
Availability
Fireworks 3.
Usage
dom.setDocumentCanvasColor(
color
)
Arguments
color
A color string (see “
Color string data type
” on page 7).
Returns
Nothing.
Description
Sets the canvas color of the document to the specified color.
Example
The following command sets the canvas color to blue: