BitmapDataUpdateBatch class

The BitmapDataUpdateBatch class provides all the BitmapData update methods, but does not automatically update the underlying WebGL texture. This improves the performance for multiple updates to the BitmapData. Once all updates are done, call the update method to update the underlying WebGL texture.


BitmapDataUpdateBatch(BitmapData bitmapData)


bitmapData BitmapData
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


applyFilter(BitmapFilter filter, [Rectangle<num> rectangle]) → void
clear() → void
See BitmapData.clear
colorTransform(Rectangle<num> rectangle, ColorTransform transform) → void
copyPixels(BitmapData source, Rectangle<num> sourceRect, Point<num> destPoint) → void
See BitmapData.copyPixels
draw(BitmapDrawable source, [Matrix matrix]) → void
drawPixels(BitmapData source, Rectangle<num> sourceRect, Point<num> destPoint, [BlendMode blendMode]) → void
See BitmapData.drawPixels
fillRect(Rectangle<num> rectangle, int color) → void
getPixel32(num x, num y) int
See BitmapData.getPixel32
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
setPixel32(num x, num y, int color) → void
See BitmapData.setPixel32
toString() String
A string representation of this object. [...]
update() → void
Update the underlying rendering surface.


operator ==(Object other) bool
The equality operator. [...]