|
|
Fill object
AvailabilityFlash
MX 2004.
DescriptionThis
object contains all the properties of the Fill color setting of
the Tools panel or of a selected shape. To retrieve a Fill object,
use document.getCustomFill().
Property summaryThe following properties
are available for the Fill object:
Property
|
Description
|
fill.bitmapIsClipped
|
A Boolean value that specifies whether the
bitmap fill for a shape that is larger than the bitmap is clipped
or repeated.
|
fill.bitmapPath
|
A string that specifies the path and name
of the bitmap fill in the Library.
|
fill.color
|
A string, hexadecimal value, or integer
that represents the fill color.
|
fill.colorArray
|
An array of colors in gradient.
|
fill.focalPoint
|
An integer that specifies the gradient focal
point horizontal offset from the transformation point.
|
fill.linearRGB
|
A Boolean value that specifies whether to
render the fill as a linear or radial RGB gradient.
|
fill.matrix
|
A Matrix object that defines the placement,
orientation, and scales for gradient fills.
|
fill.overflow
|
A string that specifies the behavior of
a gradient’s overflow.
|
fill.posArray
|
An array of integers, each in the range
of zero to 255, indicating the position of the corresponding color.
|
fill.style
|
A string that specifies the fill style.
|
|