-
public final class Gif
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegercurrentIndexprivate final LongcurrentDelayprivate final Dimensiondimensionprivate final IntegerframeCountprivate final LoopCountloopCountprivate final DoubleaspectRatioprivate final IntegerbackgroundColorprivate final BooleanisAnimated
-
Constructor Summary
Constructors Constructor Description Gif(InputStream inputStream, PixelPacking pixelPacking)Gif(File file, PixelPacking pixelPacking)Gif(GifDescriptor gifDescriptor)
-
Method Summary
Modifier and Type Method Description final Unitadvance()Advance the frame index, and loop back to zero after the last frame. final UnitgetCurrentFrame(IntArray inPixels)final IntArraygetFrame(Integer index)final UnitgetFrame(Integer index, IntArray inPixels)final IntegergetCurrentIndex()final LonggetCurrentDelay()final DimensiongetDimension()final IntegergetFrameCount()final LoopCountgetLoopCount()final DoublegetAspectRatio()final IntegergetBackgroundColor()final BooleangetIsAnimated()-
-
Constructor Detail
-
Gif
Gif(InputStream inputStream, PixelPacking pixelPacking)
-
Gif
Gif(File file, PixelPacking pixelPacking)
-
Gif
Gif(GifDescriptor gifDescriptor)
-
-
Method Detail
-
advance
final Unit advance()
Advance the frame index, and loop back to zero after the last frame. Does not care about loop count.
-
getCurrentFrame
final Unit getCurrentFrame(IntArray inPixels)
-
getCurrentIndex
final Integer getCurrentIndex()
-
getCurrentDelay
final Long getCurrentDelay()
-
getDimension
final Dimension getDimension()
-
getFrameCount
final Integer getFrameCount()
-
getLoopCount
final LoopCount getLoopCount()
-
getAspectRatio
final Double getAspectRatio()
-
getBackgroundColor
final Integer getBackgroundColor()
-
getIsAnimated
final Boolean getIsAnimated()
-
-
-
-