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

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

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

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
setPixel32(num x, num y, int color) → void

See BitmapData.setPixel32

toString() → String

Returns a string representation of this object.

inherited
update() → void

Update the underlying rendering surface.