public class ImageMetadata
extends java.lang.Object
null
-valued field indicates that the metadata field has not
been set.Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
backgroundColor
An RGB color to be used as a background.
|
java.lang.Integer |
backgroundIndex
A palette index to be used as a background.
|
java.lang.Boolean |
blackIsZero
true if smaller values represent darker shades. |
java.lang.Integer |
delayTime
The amount of time to wait (in milliseconds) before continuing
to process the data stream.
|
java.lang.Integer |
disposalMethod
The disposal method for the image.
|
java.lang.Float |
gamma
The image gamma.
|
java.lang.Integer |
imageHeight
The height of the image.
|
java.lang.Integer |
imageLeftPosition
The X offset of the image relative to the screen origin.
|
java.lang.Integer |
imageTopPosition
The Y offset of the image relative to the screen origin.
|
java.lang.Integer |
imageWidth
The width of of the image.
|
java.lang.Integer |
loopCount
The amount of times to loop the animation, zero or null if the animation
should loop endlessly.
|
java.lang.Integer |
transparentIndex
A palette index to be used for transparent pixels.
|
Constructor and Description |
---|
ImageMetadata(java.lang.Float gamma,
java.lang.Boolean blackIsZero,
java.lang.Integer backgroundIndex,
java.lang.Integer backgroundColor,
java.lang.Integer transparentIndex,
java.lang.Integer delayTime,
java.lang.Integer loopCount,
java.lang.Integer imageWidth,
java.lang.Integer imageHeight,
java.lang.Integer imageLeftPosition,
java.lang.Integer imageTopPosition,
java.lang.Integer disposalMethod) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final java.lang.Float gamma
public final java.lang.Boolean blackIsZero
true
if smaller values represent darker shades.public final java.lang.Integer backgroundIndex
public final java.lang.Integer backgroundColor
public final java.lang.Integer delayTime
public final java.lang.Integer loopCount
public final java.lang.Integer transparentIndex
public final java.lang.Integer imageWidth
public final java.lang.Integer imageHeight
public final java.lang.Integer imageLeftPosition
public final java.lang.Integer imageTopPosition
public final java.lang.Integer disposalMethod
public ImageMetadata(java.lang.Float gamma, java.lang.Boolean blackIsZero, java.lang.Integer backgroundIndex, java.lang.Integer backgroundColor, java.lang.Integer transparentIndex, java.lang.Integer delayTime, java.lang.Integer loopCount, java.lang.Integer imageWidth, java.lang.Integer imageHeight, java.lang.Integer imageLeftPosition, java.lang.Integer imageTopPosition, java.lang.Integer disposalMethod)
gamma
- the image gammablackIsZero
- whether smaller values represent darker shadesbackgroundIndex
- a palette index to use as backgroundbackgroundColor
- the color to be used as background.
The color format, in Integer, is packed as ARGB with 8 bits per channel.delayTime
- the amount of time to pause at the current image
(milliseconds).loopCount
- the amount of times to loop the animation
(zero for infinite loop).transparentIndex
- a palette index to be used as transparency.