User Guide

204 Fireworks JavaScript API
dom.joinPaths()
Availability
Fireworks 3.
Usage
dom.joinPaths()
Arguments
None.
Returns
Nothing.
Description
Joins the selected paths.
dom.knifeElementsFromPoint()
Availability
Fireworks 3.
Usage
dom.knifeElementsFromPoint(from, tolerance)
Arguments
from A point that specifies the x,y coordinates of the point that the user clicked (see “Point
data type” on page 12).
tolerance A floating-point value > = 0 that specifies the tolerance within which items are
cut.
Returns
A Boolean value: true if anything was cut; false otherwise.
Description
When the user clicks a single point while using the Knife tool, this function cuts paths within
the specified tolerance. This action is similar to using the Knife tool with a single click.
See also
dom.knifeElementsFromPoints()