Arguments
A point that specifies the x-,y-coordinate values by which the mask is moved (see
delta
"Point data type" on page
12). For example, passing
:
,
:
moves the mask 1 pixel to
({x
1
y
2})
the right and 2 pixels down.
Returns
Nothing.
Description
Moves the current pixel mask by the specified amount. If there is no pixel selection, an
exception is thrown.
dom.moveSelectionTo()
Availability
Fireworks 3.
Usage
dom.moveSelectionTo(location, bMakeCopy, doSubSel)
Arguments
A point that specifies the x-,y-coordinate values of the location to which the
location
selection is moved or copied (see
"Point data type" on page
12).
Specifies copying instead of moving the selection.
bMakeCopy
If
is set to
, the function moves only the subselected parts of a
doSubSel
doSubSel
true
path. If the argument is set to
, the function moves the whole object.
false
Returns
Nothing.
Description
Moves or copies the selection to the specified location.
Example
The following command copies only the selected parts of a path to the specified coordinates:
fw.getDocumentDOM().moveSelectionTo({x:163, y:0}, true, true);
Document functions
215
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers