Description
Exports the document as specified.
dom.fillSelectedPixels()
Availability
Fireworks 3.
Usage
dom.fillSelectedPixels(clickPt, p1, p2, p3, bFillSelectionOnly, tolerance,
edgemode, featherAmt)
Arguments
A point that specifies the x,y coordinates of the pixel to be filled or generated (see
clickPt
"Point data type" on page
,
, and
Points that specify the fill-vector. These arguments are ignored if the current
p1
p2
p3
fill does not use a fill-vector.
bFillSelectionOnly
are ignored. If it is
false
using the values passed for
same as if the Magic Wand tool were used at the
An integer between 0 and 255, inclusive, that specifies the tolerance for
tolerance
selecting pixels.
Acceptable values for
edgemode
An integer between 0 and 32,000, inclusive, that specifies the number of pixels
featherAmt
to feather. This value is ignored if the value of
Returns
Nothing.
Description
When the selection is an image and Fireworks is in bitmap mode, this method fills the
selected pixels with the current fill or generates a new pixel selection.
Example
The following command fills the selection with a hard edge, and the tolerance set to 32:
fw.getDocumentDOM().fillSelectedPixels({x:207, y:199}, {x:207, y:199},
{x:207, y:199}, {x:207, y:199}, false, 32, "hard edge", 0);
12).
If
bFillSelectionOnly
, the current pixel selection is ignored, and a new one is generated
,
tolerance
edgemode
are
edgemode
is
, the remaining arguments
true
, and
featherAmt.
location.)
clickPt
,
"hard edge"
"antialias"
is not
edgemode
"feather"
(This behavior is the
, and
"feather"
.
Document functions
.
189
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers