Codec class abstract
A handle to an image codec.
This class is created by the engine, and should not be instantiated or extended directly.
To obtain an instance of the Codec interface, see instantiateImageCodec.
Constructors
- Codec()
Properties
- frameCount → int
-
Number of frames in this image.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- repetitionCount → int
-
Number of times to repeat the animation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Release the resources used by this object. The object is no longer usable after this method is called.
-
getNextFrame(
) → Future< FrameInfo> - Fetches the next animation frame.
-
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