Package | sekati.validators |
Class | public class BitmapValidator |
Bitmap, BitmapData & DisplayObject's.
Method | Defined by | ||
---|---|---|---|
BitmapValidator Static Constructor
| BitmapValidator | ||
isBitmappable(src:DisplayObject):Boolean
[static]
Determines whether the dimensions of a
DisplayObject are of a bitmappable size (within player version limitations). | BitmapValidator | ||
isBitmappableArea(width:int, height:int):Boolean
[static]
Determines whether the given dimensions are of a bitmappable size (within player version limitations).
| BitmapValidator |
Constant | Defined by | ||
---|---|---|---|
MAX_PIXELS : int [static]
The maximum number of possible pixels in a
BitmapData object in the Flash Player.
| BitmapValidator | ||
MAX_SIDE_LENGTH : int [static]
The maximum possible size if a
BitmapData object size.
| BitmapValidator | ||
MAX_SIZE : int [static]
The maximum dimension of a squared
BitmapData object in the Flash Player.
| BitmapValidator | ||
MAX_SIZE_SAFE : int = 2880 [static]
The maximum safe dimensions of a
BitmapData object in the Flash >=9. | BitmapValidator |
BitmapValidator | () | constructor |
public function BitmapValidator()
BitmapValidator Static Constructor
isBitmappable | () | method |
public static function isBitmappable(src:DisplayObject):Boolean
Determines whether the dimensions of a DisplayObject
are of a bitmappable size (within player version limitations).
src:DisplayObject |
Boolean |
isBitmappableArea | () | method |
public static function isBitmappableArea(width:int, height:int):Boolean
Determines whether the given dimensions are of a bitmappable size (within player version limitations).
Parameterswidth:int |
|
height:int |
Boolean |
MAX_PIXELS | constant |
public static const MAX_PIXELS:int
The maximum number of possible pixels in a BitmapData
object in the Flash Player.
See also
MAX_SIDE_LENGTH | constant |
public static const MAX_SIDE_LENGTH:int
The maximum possible size if a BitmapData
object size.
MAX_PIXELS
size).See also
MAX_SIZE | constant |
public static const MAX_SIZE:int
The maximum dimension of a squared BitmapData
object in the Flash Player.
4096x4096
exceeds MAX_PIXELS
).See also
MAX_SIZE_SAFE | constant |
public static const MAX_SIZE_SAFE:int = 2880
The maximum safe dimensions of a BitmapData
object in the Flash >=9. Use as a good safe value.
See also