User Guide

Objects within Fireworks documents 69
Pattern object
The following table lists the property of the Pattern object, along with its data type and notes.
RectanglePrimitive object
The following table lists the properties of the RectanglePrimitive object, along with their data
types and, where appropriate, acceptable values and notes.
fillHandle1
point The three fillHandle properties are used
by Gradient and Pattern fills to set the angle
and size of the gradient/pattern.
fillHandle2
point
fillHandle3
point
fillOnTop
Boolean If set to true, the fill is drawn on top of the
brush; if set to
false (the default), the fill is
drawn beneath the brush.
fillTexture
object Texture object (see “Texture object”
on page 56).
Property Data type Notes
name
string The name that appears in the Fill panel.
Property Data type Notes
roundness
float A floating-point value between 0 and 1
that specifies the “roundness” to use for
the corners (
0 is no roundness, 1 is
100% roundness).
originalSides
rectangle A rectangle that specifies the original sides
of the primitive (see “Rectangle data type”
on page 12). Because rectangle primitives
remember transformations, the user might
see something different from the
original sides.
Property Data type Notes