User Guide

242 Fireworks JavaScript API
dom.selectSimilar()
Availability
Fireworks 3.
Usage
dom.selectSimilar(tolerance, edgemode, featherAmt, combinemode)
Arguments
tolerance An integer between 0 and 255, inclusive, that specifies the tolerance for
selecting pixels.
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".
combinemode Specifies how to combine the new selection mask with the existing mask.
Acceptable values are
"replace", "add", "subtract", and "intersect".
Returns
Nothing.
Description
If Fireworks is in bitmap mode and a pixel selection is active, this function selects all pixels in
the current image that are within the specified tolerance of the average color in the current
pixel selection.
See also
dom.selectSimilarFromPoint()
dom.selectSimilarFromPoint()
Availability
Fireworks 3.
Usage
dom.selectSimilarFromPoint(where, tolerance, edgemode, featherAmt,
combinemode)