User Guide
54 The Fireworks Object Model
Path object
Path 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).
htmlText
string If sliceKind is set to "empty", this text is
exported instead of the image. The default
is an empty string.
sliceID • string An arbitrary string that uniquely identifies
this slice.
sliceKind
string If set to "image", generates an image; if set
to
"empty", generates the text specified by
htmlText.
tdTagText
string This string contains all the attributes of a
table cell except the
colspan and
rowspan values.
An example value is
"bgcolor=ff0000"
valign="top"
.
Property Data type Notes
contours
array Array of Contour objects on this Path
object (for more information, see “Contour
object” on page 36).
isEvenOddFill
Boolean true if the path uses an even/odd fill.
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.
textureOffset
point If the path has a textured brush or fill,
specifies the offset of the texture’s origin.
Property Data type Notes