44
Chapter 2: The Fireworks Object Model
Texture object
Texture is a subclass of the base class Element and contains the following read-only property in
addition to those in Element (see
“Element object” on page 39
).
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 (see
“PathAttrs object”
on page 54
).
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 (see
“TextRuns object”
on page 63
).
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
Содержание DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Страница 1: ...Extending Fireworks...
Страница 4: ...4 Contents...
Страница 8: ...8 Chapter 1 Extending Fireworks Overview...
Страница 102: ...102 Chapter 4 Auto Shapes...
Страница 284: ...284 Chapter 5 Fireworks JavaScript API...