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, required Color color})

Properties

color → Color
The background color for this batch item.
final
destination → Rect
The destination rectangle for the Canvas.
final
hashCode → int
The hash code for this object.
no setterinherited
matrix → Matrix4
Fallback matrix for the web.
final
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