260
EXTENDING FIREWORKS
Objects within Fireworks documents
Las
t
up
d
a
ted
12/8/2009
Gradient object
The following table lists the properties of the Gradient object, along with their data types and, where appropriate,
acceptable values and notes.
GradientNode object
The following table lists the properties of the GradientNode object, along with their data types and, where appropriate,
acceptable values and notes.
Guides object
The following table lists the properties of the Guides object, along with their data types and, where appropriate,
acceptable values and notes.
Property
Data type
Notes
name
string
The name that appears in the Fill panel.
nodes
array
Array of GradientNode objects (see “
GradientNode object
” on
page
260).
opacityNodes
array
Array of GradientNode objects (see “
GradientNode object
” on
page
260), that identify the opacity ramp associated with a
gradient.
Property
Data type
Notes
color
string
A color string that specifies the color at this position in the
gradient (see “
Color string data type
” on page
7).
isOpacityNode
Boolean
If set to
true
, this node is part of the gradient’s opacity ramp.
position
float
0.0 to 1.0
Property
Data type
Notes
color
string
A color string that specifies the color used for the guides (see
“
Color string data type
” on page
7).
hGuides
array
Array of floating-point numbers that specify horizontal guide
locations.
locked
Boolean
If set to
true
, the user cannot select or move the guides. The
default value is
false
.
vGuides
array
Array of floating-point numbers that specify vertical guide
locations.