User Guide
208 Chapter 5: Fireworks JavaScript API
Arguments
fill
A Fill object (see “Fill object” on page 51).
Returns
Nothing.
Description
Sets the selection to the specified fill.
dom.setFillColor()
Availability
Fireworks 3.
Usage
dom.setFillColor(color)
Arguments
color
A color string (see “Color string data type” on page 11).
Returns
Nothing.
Description
Changes the fill color of the selection to the specified color.
dom.setFillEdgeMode()
Availability
Fireworks 3.
Usage
dom.setFillEdgeMode(edgemode, featherAmt)
Arguments
edgemode
Acceptable values are "hard edge", "antialias", and "feather".
featherAmt An integer that specifies the number of pixels to feather. This value is ignored if
edgemode is not "feather".
Returns
Nothing.
Description
Sets the edge type for selected items with fills.