174
Fireworks JavaScript API
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
contourIndex
An integer value that specifies the contour that contains the point to be
deleted, starting with
0
(although, to specify the current contour, pass
–1
here).
pointIndex
An integer value that specifies the point to be deleted, starting with
0
(although, to specify the current point, pass
–1
here).
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
)
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...