| Package | Description |
|---|---|
| flash.display | |
| flash.geom |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
DisplayObject.getBounds(DisplayObject targetCoordinateSpace)
Returns a rectangle that defines the area of the display object relative
to the coordinate system of the targetCoordinateSpace object.
|
Rectangle |
DisplayObject.getRect(DisplayObject targetCoordinateSpace)
Returns a rectangle that defines the boundary of the display object, based
on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
|
Rectangle |
DisplayObject.getScale9Grid()
The current scaling grid that is in effect.
|
Rectangle |
DisplayObject.getScrollRect()
The scroll rectangle bounds of the display object.
|
| Modifier and Type | Method and Description |
|---|---|
BitmapData |
BitmapData.applyFilter(BitmapData bitmapData,
Rectangle sourceRect,
Point dest,
Object filter) |
void |
BitmapData.copyPixels(BitmapData bitmapData,
Rectangle sourceRect,
Point dest,
BitmapData alphaBitmap,
Point alphaPoint,
boolean mergeAlpha) |
void |
DisplayObject.setScale9Grid(Rectangle scale9Grid) |
void |
DisplayObject.setScrollRect(Rectangle scrollRect) |
void |
Sprite.startDrag(boolean lockCenter,
Rectangle bounds)
Lets the user drag the specified sprite.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
Rectangle.create(float sx,
float sy,
float sw,
float sh) |
Copyright © 2013. All Rights Reserved.