EngineBatch class

Inheritance

Constructors

EngineBatch({int capacity = 100, BlendMode? blendMode, Paint? paint})

Properties

capacity int
getter/setter pair
defaultBlendMode BlendMode
final
defaultPaint Paint
final
freeLength int
no setter
hashCode int
The hash code for this object.
no setterinherited
rectCount int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

beginBatch(Canvas canvas, {Rect? cullRect}) → void
override
drawImage(Image image, Float32List data, Float32List rect, int? color) → void
override
drawImageFromComponents({required Image image, required Rect rect, required double rotation, required double scale, required double anchorX, required double anchorY, required double translateX, required double translateY, int? color}) → void
override
drawImageFromData(Image image, Rect rect, double scos, double ssin, double tx, double ty, int? color) → void
override
drawImages(Image image, Float32List data, Float32List rect, int? color, [int skipCount = 0]) → void
override
drawTextureRegion(TextureRegion textureRegion, Float32List data, int? color) → void
override
drawTextureRegionFromData(TextureRegion textureRegion, double scos, double ssin, double tx, double ty, int? color) → void
override
endBatch() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultColor → const int