GifResourceAnimationReader
class GifResourceAnimationReader
Implements: IResourceAnimationReader
Package: dev.joid.lib.resource.animation.impl · Module: core · Source: GifResourceAnimationReader.java
Reads the frames of a GIF.
Description
Section titled “Description”A frame delay of 10 ms or less shows for 100 ms, as browsers do; the play count comes from the loop extension of the file, otherwise one play.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| GifResourceAnimationReader() | Creates the reader. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
ResourceAnimation | read(InputStream stream) | Reads every frame of the GIF, composed with its disposal, and its play count. |
Creation details
Section titled “Creation details”GifResourceAnimationReader
Section titled “GifResourceAnimationReader”GifResourceAnimationReader()
Creates the reader.
Method details
Section titled “Method details”ResourceAnimation read(InputStream stream)
Reads every frame of the GIF, composed with its disposal, and its play count.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
