Objects within Fireworks documents
49
Element object
Element is an abstract or base class; nothing of class Element ever exists. However, it is useful
for simplifying the other class descriptions. Read-only properties are marked with a bullet (•).
Property
Data type
Notes
blendMode
string
Acceptable values are
"normal"
,
"multiply"
,
"screen"
,
"darken"
,
"lighten"
,
"difference"
,
"hue"
,
"saturation"
,
"color"
,
"luminosity"
,
"invert"
,
"tint"
,
and
"erase"
.
customData
struct
Assign any objects (array, integer, string,
and so on).
effectList
object
EffectList object (for more information, see
“EffectList object” on page 48
).
height
•
float
Read-only in the base class; other
properties or API calls are used to resize
specific types of elements.
isSmartShape
•
Boolean
Confirms whether the element is an Auto
Shape.
left
float
Can round to an integer.
mask
object
ElementMask object (for more information,
see
“ElementMask object” on page 56
).
Returns
null
if the element has no element
mask.
name
string
Can be
null
(removes any existing name).
opacity
float
Acceptable values, 0 to 100, represent
percent opacity.
rawLeft
float
Leftmost space occupied by the pixels (not
the left location of the bounding box).
rawTop
float
Top space occupied by the pixels (not the
top location of the bounding box).>
top
float
Can round to an integer.
pixelRect
rect
Rectangle of the area occupied by the
pixels. For example, the pixelRect of a text
object is smaller than what the property
inspector reports, since the actual pixels are
inside the bounding box.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...