User Guide
Using Matrix objects 423
Other uses of Rectangle objects
Rectangle objects are used in the following methods and properties:
Using Matrix objects
The Matrix class represents a transformation matrix that determines how to map points from
one coordinate space to another. You can perform various graphical transformations on a
display object by setting the properties of a Matrix object, applying that Matrix object to the
matrix property of a Transform object, and then applying that Transform object as the
transform property of the display object. These transformation functions include translation
(x and y repositioning), rotation, scaling, and skewing.
Class Methods or properties Description
BitmapData applyFilter(), colorTransform(),
copyChannel(), copyPixels(),
draw(), fillRect(),
generateFilterRect(),
getColorBoundsRect(), getPixels(),
merge(), paletteMap(),
pixelDissolve(), setPixels(), and
threshold()
Used as the type for
some parameters to
define a region of the
BitmapData object.
DisplayObject getBounds(), getRect(),
scrollRect, scale9Grid
Used as the data type
for the property or the
data type returned.
PrintJob addPage() Used to define the
printArea parameter.
Sprite startDrag() Used to define the
bounds parameter.
TextField getCharBoundaries() Used as the return
value type.
Transform pixelBounds
Used as the data type.