54
Chapter 2: The Fireworks Object Model
Layer object
The following table lists the properties of the Layer object, along with their data types and, where
appropriate, acceptable values and notes. Read-only properties are marked with a bullet (•).
PathAttrs object
The following table lists the properties of the PathAttrs object, along with their data types and,
where appropriate, acceptable values and notes.
Property
Data type
Notes
disclosure
Boolean
If set to
true
, the Layers list displays all the
objects in the layer. If set to
false
, only the
name of the layer appears.
frames •
array
An array of FrameNLayerIntersection
objects (see
“FrameNLayerIntersection
object” on page 52
).
layerType •
string
Acceptable values are
"normal"
and
"web"
.
name
string
Might be
null
(removes any existing name).
sharing
string
Acceptable values are
"shared"
and
"not shared"
.
Property
Data type
Notes
brush
object
Brush object (see
“Brush object”
on page 26
).
brushColor
string
A color string that specifies the color that is
used for rendering the Brush object, if any
(see
“Color string data type” on page 11
).
brushPlacement
string
Acceptable values are
"inside"
,
"center"
,
and
"outside"
.
brushTexture
object
Texture object (see
“Texture object”
on page 44
).
fill
object
Fill object (see
“Fill object” on page 51
).
fillColor
string
A color string that specifies the color that is
used for rendering the Fill object, if any (see
“Color string data type” on page 11
).
fillHandle1
point
The three
fillHandle
properties are used by
Gradient and Pattern fills to set the angle and
size of the gradient/pattern.
fillHandle2
point
fillHandle3
point
fillOnTop
Boolean
If set to
true
, the fill is drawn on top of the
brush; if set to
false
(the default), the fill is
drawn beneath the brush.
fillTexture
object
Texture object (see
“Texture object”
on page 44
).
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...