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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent method or property is accessed.
inherited
setPixel32(num x, num y, int color) → void
See BitmapData.setPixel32
toString() String
A string representation of this object.
inherited
update() → void
Update the underlying rendering surface.

Operators

operator ==(Object other) bool
The equality operator.
inherited