User Guide
Document functions 167
dom.movePixelMaskBy()
Availability
Fireworks 4.
Usage
dom.movePixelMaskBy(delta)
Arguments
delta
A point that specifies the x,y coordinate values by which the bitmap mode selection is
moved (see “Point data type” on page 11). For example, passing ({
x:1,y:2})moves the bitmap
mode selection 1 pixel to the right and 2 pixels down.
Returns
Nothing.
Description
Moves a bitmap mode selection by the specified amount, without moving the pixels that are
within the selection.
dom.movePointOnHotspotBy()
Availability
Fireworks 3.
Usage
dom.movePointOnHotspotBy(ptToModifyIndex, delta)
Arguments
ptToModifyIndex
A zero-based index that specifies which point on the path is to move.
delta A point that specifies the x,y coordinate values by which the point is moved (see “Point
data type” on page 11). For example, passing
({x:1,y:2}) moves the point 1 pixel to the right and
2 pixels down.
Returns
Nothing.
Description
If the selection is a Hotspot or slice of the polyline variety, this function moves a point on the
Hotspot’s path by the specified amount.