Document functions
255
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 11
).
Returns
Nothing.
Description
Sets the canvas color of the document to the specified color.
Example
The following command sets the canvas color to blue:
fw.getDocumentDOM().setDocumentCanvasColor("#0000ff");
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...