User Guide

160 Chapter 5: Fireworks JavaScript API
Description
Tests to see if the selected object(s) are directly above a bitmap object. The selection does not need
to be contiguous, although at least one item in the selection must be directly above a bitmap.
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 11).
tolerance A floating-point value > = 0 that specifies the tolerance within which items are cut.
Returns
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()