User Guide

172 Chapter 5: Fireworks JavaScript API
dom.pathCrop()
Availability
Fireworks 3.
Usage
dom.pathCrop()
Arguments
None.
Returns
Nothing.
Description
Performs a crop operation on the selected paths.
dom.pathExpand()
Availability
Fireworks 3.
Usage
dom.pathExpand(width, miter, cap, join)
Arguments
width
A floating-point value that specifies the new width of the selected paths, in pixels.
miter A floating-point value that specifies the new miter angle of the selected paths, in pixels.
This argument is ignored if the value of
join is not "miter".
cap Acceptable values are "butt", "square", and "round".
join Acceptable values are "bevel", "round", and "miter".
Returns
Nothing.
Description
Performs an expand operation on the selected paths.
dom.pathInset()
Availability
Fireworks 3.
Usage
dom.pathInset(width, miter, join)