109
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.pageName()
Arguments
None.
Returns
A string specifying the name of the current page.
Description
Indicates the name of the current page. For example:
fw.getDocumentDOM().pageName
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"
.