Archive for the tag 'BitmapData'

Clearing A BitmapData’s Contents

I’ve been using BitmapData lately more and more (I know, I’m very late to the party) and something that I was curious in was how to clear it before I can draw to it again so that the previous frame’s contents are not in it. Particularly, I was wondering how I can very simply and quickly erase everything inside of what I just draw into a BitmapData object. I did some quick Google work and found the answer to be VERY simple. Read more »

Tags: , ,