Adobe 65011817 - Fireworks CS4 - Mac Extended User Manual page 43

Extending guide
Hide thumbs Also See for 65011817 - Fireworks CS4 - Mac:
Table of Contents

Advertisement

Last updated 12/8/2009
Example
The following command adds a new unshared layer with a default name that is generated by Fireworks:
fw.getDocumentDOM().addNewLayer(null, false);
dom.addNewLine()
Availability
Fireworks 3.
Usage
dom.addNewLine(startPoint, endPoint)
Arguments
and
startPoint
endPoint
type" on page 8).
Returns
Nothing.
Description
Adds a new path between two points. The new path uses the document's current default path attributes and is added
to the current frame and layer.
Example
The following command adds a new line between the specified coordinates:
fw.getDocumentDOM().addNewLine({x:64.5, y:279.5}, {x:393.5, y:421.5});
dom.addNewOval()
Availability
Fireworks 3.
Usage
dom.addNewOval(boundingRectangle)
Arguments
A rectangle that specifies the bounds of the oval to be added (see
boundingRectangle
page 8).
Returns
Nothing.
Description
Adds a new oval fitting into the specified bounding rectangle. The oval uses the document's current default path
attributes and is added on the current frame and layer.
Points that specify the x,y coordinates between which the path is added (see
EXTENDING FIREWORKS
The Document object
"Point data
"Rectangle data
type" on
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs4

Table of Contents