User Guide
Objects within Fireworks documents 55
Text object
Text is a subclass of the base class Element and contains the following properties in addition
to those in Element (for more information, see “Element object” on page 49).
Property Data type Notes
antiAliased
Boolean If set to true (the default), anti-aliases
the text.
antiAliasMode
string Acceptable values are "smooth", "crisp",
and
"strong". This value is ignored if the
antiAliased property is set to false.
autoExpand
Boolean If set to true, the bounding box will expand
automatically to fit a line of text to prevent
word wrapping.
autoKern
Boolean If set to true, uses pair-kerning information
in the fonts to kern the text. If set to
false,
pair-kerning information in the fonts is
ignored. Default value is
true.
orientation
string Acceptable values are "horizontal left to
right"
(the default), "vertical right to
left"
, "horizontal right to left", and
"vertical left to right".
pathAttributes
object PathAttrs object (for more information, see
“PathAttrs object” on page 68).
randSeed
float A 32-bit integer. JavaScript integers hold
only 31-bit numbers, so it is stored as a
floating-point number.
textRuns
object TextRuns object (for more information, see
“TextRuns object” on page 79).
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).