Description
Deletes a layer.
Example
The following command deletes the current layer:
fw.getDocumentDOM().deleteLayer(-1);
dom.deletePointOnPath()
Availability
Fireworks 4.
Usage
dom.deletePointOnPath(contourIndex, pointIndex)
Arguments
An integer value that specifies the contour that contains the point to be
contourIndex
deleted, starting with
(although, to specify the current contour, pass
here).
0
–1
An integer value that specifies the point to be deleted, starting with
pointIndex
0
(although, to specify the current point, pass
here).
–1
Returns
Nothing.
Description
Deletes the specified point on the currently selected path. If the point is the only one on its
contour, the entire contour is deleted. If the point is the only one in the path, the entire path
is deleted. The specified point does not need to be selected.
Example
The following command deletes the currently selected point:
fw.getDocumentDOM().deletePointOnPath(-1, -1);
dom.deleteSavedSelection()
Availability
Fireworks 3.
Usage
dom.deleteSavedSelection(bFillDeletedArea)
174
Fireworks JavaScript API
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers