SpriteSheet class

Constructors

SpriteSheet({required ImageProvider<Object> imageProvider, required int length, required int frameWidth, int frameHeight = 0})

Properties

frameHeight int
getter/setter pair
frameWidth int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image Image?
getter/setter pair
length int
getter/setter pair
positions Float32List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFrame(int? frame) Rect?
injectTexCoords(int i, Float32List list, int frame) → void
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