120
Chapter 5: 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 11
).
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
)
Arguments
pt
A point that specifies the
x,y
coordinates of the point to be added (see
“Point data type”
on page 11
).
tolerance
A floating-point value > = 0 that specifies the tolerance between the new point and
the starting point of the polyline path. If the new point is within
tolerance
of the starting point,
the polyline path is closed.
Returns
Nothing.
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...