Packagede.popforge.imageprocessing.utils
Classpublic final class DimensionTest

The DimensionTest class provides a method to check if a BitmapData and Image object belong to the same size.



Public Methods
 MethodDefined by
  
isEqual(bitmap:BitmapData, image:Image):void
[static] Checks if the width and height of the BitmapData and Image object are equal.
DimensionTest
Method detail
isEqual()method
public static function isEqual(bitmap:BitmapData, image:Image):void

Checks if the width and height of the BitmapData and Image object are equal.

Parameters
bitmap:BitmapData — A BitmapData object.
 
image:Image — A image object.

Throws
UnequalDimensionsError — Width or height of both objects are not equal.