User Guide
Objects within Fireworks documents 39
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 (see “EffectList object”
on page 38).
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 (see “ElementMask
object” on page 45). 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.
visible
Boolean If set to false, the element is hidden. The
default value is
true.
width • float Read-only in the base class; other properties
or API calls are used to resize specific types
of elements.