BatchItem class

A single item in a SpriteBatch.

Holds all the important information of a batch item.

Constructors

BatchItem({required Rect source, required RSTransform transform, Color? color, bool flip = false})

Properties

destination Rect
The destination rectangle for the Canvas.
final
flip bool
The flip value for this batch item.
final
hashCode int
The hash code for this object.
no setterinherited
matrix Matrix4
Fallback matrix for the web.
latefinal
paint Paint
Paint object used for the web.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Rect
The source rectangle on the SpriteBatch.atlas.
final
transform RSTransform
The transform values for this batch item.
final

Methods

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