A bitmap mask used for pixel-perfect collision.
Constructor
View source
Parameters:
new (source : Dynamic, x : Int = 0, y : Int = 0) : Void
Constructor.
Parameters:
source | The image to use as a mask. | |
x | X offset of the mask. | |
y | Y offset of the mask. |