252
EXTENDING FIREWORKS
Objects within Fireworks documents
Las
t
up
d
a
ted
12/8/2009
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.
textRuns
object
TextRuns object (for more information, see “
TextRuns object
”
on page
268).
textureOffset
point
If the text has a textured brush or fill, specifies the offset of the
texture’s origin.
transformMode
string
Acceptable values are
"paths"
and
"pixels"
.
rawTop
float
Top space occupied by the pixels (not the top location of the
bounding box).
rawLeft
float
Leftmost space occupied by the pixels (not the left location of
the bounding box).
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
247).
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