Methods
Lock
#Locks the data of the image to directly access the bytes of the image
Remarks: This locks the data to read and write to directly using unsafe pointers. After reading or updating the data, you must call Unlock(BitmapData) to unlock the data.
Returns: A BitmapData object with information about the locked data
Unlock
#Unlocks the previously locked data
Remarks: This will unlock the data, and in some platforms write the data back to the image. You must call this method before using the bitmap again.
Parameters:
| bitmapData (BitmapData) | The data previously locked via the Lock() method |