56
The Fireworks Object Model
Texture object
The Texture object has the following read-only property.
ElementMask object
The following table lists the properties of the ElementMask object, along with their data types
and, where appropriate, acceptable values and notes.
rawWidth
float
Width of the area occupied by the pixels
(not the area of the bounding box).
rawHeight
float
Height of the area occupied by the pixels
(not the area of the bounding box).
Property (read-only)
Data type
Notes
name
string
The name that appears in the Brush or
Fill panels.
Property
Data type
Notes
autoExpandImages
Boolean
If set to
true
, and the element mask is an
image, the image is automatically
expanded to fill the entire document, with
areas “outside” the image showing
through. If set to
false
(or if the element
mask is not an image), areas “outside” the
element mask are knocked out.
element
object
Element object (for more information, see
“Element object” on page 49
).
enabled
Boolean
If set to
true
, the mask applies to the
element. If set to
false
, the mask remains
present but does not visually affect the
element in any way. Default value is
true
.
linked
Boolean
If set to
true
, moving the mask moves the
element that owns it, and vice versa. If set
to
false
, moving the mask does not affect
the element that owns it (and moving the
element does not affect the mask). Default
value is
true
.
Property
Data type
Notes
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 ...