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.

Constructors

BitmapDataUpdateBatch(BitmapData bitmapData)

Properties

bitmapData BitmapData
final
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

Methods

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
setPixel32(num x, num y, int color) → void
See BitmapData.setPixel32
update() → void
Update the underlying rendering surface.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited