152
Fireworks JavaScript API
dom.appendPointToPath()
Availability
Fireworks 3.
Usage
dom.appendPointtoPath(
ontourIndex
,
ptToInsertBefore
,
controlPointFirst
,
mainPoint
,
controlPointLast
)
Arguments
contourIndex
An zero-based index value that specifies the contour to which the Bézier
point is appended. For paths with multiple contours, the contours are in an arbitrary order.
ptToInsertBefore
A zero-based index value that specifies where on the path the new point
should be placed. The new point is appended in front of the point that this integer represents.
To add a point to the beginning of the path, pass
0
; to add a point to the end of the path, pass
a large number.
controlPointFirst
,
mainPoint
,
and
controlPointLast
Points that specify the
x,y
coordinates of the preceding control point, the main point, and the following control point of
the new point (see
“Point data type” on page 12
).
Returns
Nothing.
Description
Appends a Bézier point to the selected path.
See also
dom.insertPointInPath()
dom.appendPointToSlice()
Availability
Fireworks 3.
Usage
dom.appendPointToSlice(
pt
,
tolerance
)
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 ...