Class GifOptions
- java.lang.Object
-
- com.bumptech.glide.load.resource.gif.GifOptions
-
public final class GifOptions extends java.lang.ObjectOptions related to decoding GIFs.
-
-
Field Summary
Fields Modifier and Type Field Description static Option<DecodeFormat>DECODE_FORMATIndicates theDecodeFormatthat will be used in conjunction with the particular GIF to determine theBitmap.Configto use when decoding frames of GIFs.static Option<java.lang.Boolean>DISABLE_ANIMATIONIf set totrue, disables the GIFResourceDecoders (ResourceDecoder.handles(Object, Options)will returnfalse).
-
-
-
Field Detail
-
DECODE_FORMAT
public static final Option<DecodeFormat> DECODE_FORMAT
Indicates theDecodeFormatthat will be used in conjunction with the particular GIF to determine theBitmap.Configto use when decoding frames of GIFs.
-
DISABLE_ANIMATION
public static final Option<java.lang.Boolean> DISABLE_ANIMATION
If set totrue, disables the GIFResourceDecoders (ResourceDecoder.handles(Object, Options)will returnfalse). Defaults tofalse.
-
-