MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 146

Table of Contents

Advertisement

dom.addNewSinglePointPath()
Availability
Fireworks 3.
Usage
dom.addNewSinglePointPath(controlPointFirst, controlPointLast, bCopyAttrs)
Arguments
and
Points that specify the x,y
controlPointFirst, mjainPoint,
controlPointLast
coordinates of the preceding control point, the main point, and the following control point of
the Bézier path (see
"Point data type" on page
12).
If
is
, the path's stroke and fill are copied directly from the
bCopyAttrs
bCopyAttrs
false
document's current stroke and fill settings. If it is
, the path's fill is set to None, and the
true
brush is set to something other than None.
Returns
Nothing.
Description
Adds a new path that consists of a single Bézier point. The path uses the default fill, stroke,
and so on, and is added on the current frame and layer. The point is selected after it is added.
Example
The following command adds a new path that consists of a single Bézier point at the specified
coordinates and copies the path's stroke and fill from the document's current stroke and
fill settings:
fw.getDocumentDOM().addNewSinglePointPath({x:150, y:63}, {x:150, y:63},
{x:150, y:63}, false);
dom.addNewStar()
Availability
Fireworks 3
Usage
dom.AddNewStar(numSides, spikiness, bIsStar, centerPoint, outsidePoint)
146
Fireworks JavaScript API

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks 8

Table of Contents