Chapter 15: fill object, Fill.bitmapisclipped, Fill object – Adobe Extending Flash Professional CS5 User Manual
Page 221
199
Last updated 5/2/2011
Chapter 15: Fill object
Availability
Flash MX 2004.
Description
This 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
.
Property summary
The following properties are available for the Fill object:
fill.bitmapIsClipped
Availability
Flash CS4 Professional.
Usage
fill.bitmapIsClipped
Description
Property; a Boolean value that specifies whether the bitmap fill for a shape that is larger than the bitmap is clipped
(
true
) or repeated (
false
). This property is available only if the value of the
"bitmap"
. If the
shape is smaller than the bitmap, this value is
false
.
Example
The following example displays information on whether the bitmap fill is clipped, if appropriate, in the Output panel:
Property
Description
A Boolean value that specifies whether the bitmap fill for a shape that is larger than the bitmap is
clipped or repeated.
A string that specifies the path and name of the bitmap fill in the Library.
A string, hexadecimal value, or integer that represents the fill color.
An array of colors in gradient.
An integer that specifies the gradient focal point horizontal offset from the transformation point.
A Boolean value that specifies whether to render the fill as a linear or radial RGB gradient.
that defines the placement, orientation, and scales for gradient fills.
A string that specifies the behavior of a gradient’s overflow.
An array of integers, each in the range of zero to 255, indicating the position of the corresponding
color.
A string that specifies the fill style.