add rotate bitmapdata method