SpriteBatch class
Properties
Methods
-
dispose(
) → void -
draw(
Canvas canvas, List< Sprite> sprites, {BlendMode blendMode = BlendMode.modulate, AABB? cullArea}) → void -
getAnimation<
T extends Object> (T name, {required double speed}) → AnimationData< T> -
getEnum(
{String name = "Tex"}) → String - For development and debugging purposes
-
getTexture<
T extends Object> (T name) → TexArea -
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
Static Methods
-
custom(
{required List< Image> pages, required Map<String, TexArea> textures, required Map<String, List< frames, bool flippable = false, bool maskable = false, bool disposeOriginal = false}) → Future<TexArea> >SpriteBatch> -
fromGdxPacker(
String path, {bool flippable = false, bool maskable = false}) → Future< SpriteBatch> -
transformSheetImage(
Image image, {required bool flippable, required bool maskable, bool disposeOriginal = false}) → Future< Image>