Sprite class

Constructors

Sprite.new(Texture sheetTexture, Vector2 texturePos, Vector2 textureSize, [Vector4? colors])

Properties

colors ↔ Vector4?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sheetTexture Texture
getter/setter pair
texturePos ↔ Vector2
getter/setter pair
textureSize ↔ Vector2
getter/setter pair

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