AnimatedTexture class Null safety

Inheritance

Constructors

AnimatedTexture.fromTextures(List<Texture> frames, {double frameTime = 1 / 60, bool loop = false})

Properties

frameTime double
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
image Image
read / write, inherited
isCompleted bool
read-only
loop bool
read / write
position Vector2
read / write, inherited
rect Rect
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size Vector2
read / write, inherited
trimOffset Vector2
read / write, inherited
trimSize Vector2
read / write, inherited

Methods

computeRenderScale(ScalingMode mode, Vector2? size) double
inherited
computeRenderSize(ScalingMode mode, Vector2 size) Vector2
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
render(Canvas canvas, Vector2 position, double rotation, double scale, ScalingMode scalingMode, Vector2? size, Paint paint) → void
inherited
reset() → void
toString() String
A string representation of this object. [...]
inherited
update(double deltaTime) → void

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited