SpriteBatch class
Properties
Methods
-
dispose(
) → void -
draw(
Canvas canvas, List< Sprite> sprites, [Paint? paint, BlendMode blendMode = BlendMode.modulate]) → void -
getAnimation(
String key, {required double speed, bool loop = true}) → AnimationData -
getTexture(
String key) → Rect -
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 Image image, required Map< String, Rect> textures, required Map<String, List< frames, bool flippable = false, Paint? flipPaint}) → Future<Rect> >SpriteBatch> -
fromGdxPacker(
String path, {bool flippable = false, Paint? flipPaint}) → Future< SpriteBatch> -
fromOldGdxPacker(
String path, {bool flippable = false, Paint? flipPaint}) → Future< SpriteBatch>