TextureAtlasLoader class abstract
The base class for a custom texture atlas loader.
Use the TextureAtlas.withLoader function to load a texture atlas from a custom source by implementing a TextureAtlasLoader class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPixelRatio(
) → double - Get the pixel ratio of the texture atlas.
-
getRenderTextureQuad(
String filename) → Future< RenderTextureQuad> - Get the RenderTextureQuad for the texture atlas.
-
getSource(
) → Future< String> - Get the source of the texture atlas.
-
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