Package | com.threerings.display |
Class | public class ImageUtil |
Method | Defined by | ||
---|---|---|---|
createErrorBitmap():BitmapData
[static]
Create a minimally-sized "error" BitmapData.
| ImageUtil | ||
createErrorImage(width:int, height:int):DisplayObject
[static]
Create a DisplayObject that will display an error message
of the specified dimensions.
| ImageUtil | ||
toBitmapData(spec:*):BitmapData
[static]
Takes a BitmapData, Bitmap, or Class that will turn into either, and returns
a reference to the BitmapData, or returns null.
| ImageUtil |
createErrorBitmap | () | method |
public static function createErrorBitmap():BitmapData
Create a minimally-sized "error" BitmapData.
ReturnsBitmapData |
createErrorImage | () | method |
public static function createErrorImage(width:int, height:int):DisplayObject
Create a DisplayObject that will display an error message of the specified dimensions.
Parameterswidth:int |
|
height:int |
DisplayObject |
toBitmapData | () | method |
public static function toBitmapData(spec:*):BitmapData
Takes a BitmapData, Bitmap, or Class that will turn into either, and returns a reference to the BitmapData, or returns null.
Parametersspec:* |
BitmapData |