Class GifImageData
java.lang.Object
com.itextpdf.io.image.GifImageData
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGifImageData(byte[] data) protectedGifImageData(URL url) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected byte[]getData()floatfloatprotected URLgetUrl()(package private) voidloadData()Load data by URL.voidsetLogicalHeight(float logicalHeight) voidsetLogicalWidth(float logicalWidth)
-
Field Details
-
logicalHeight
private float logicalHeight -
logicalWidth
private float logicalWidth -
frames
-
data
private byte[] data -
url
-
-
Constructor Details
-
GifImageData
-
GifImageData
protected GifImageData(byte[] data)
-
-
Method Details
-
getLogicalHeight
public float getLogicalHeight() -
setLogicalHeight
public void setLogicalHeight(float logicalHeight) -
getLogicalWidth
public float getLogicalWidth() -
setLogicalWidth
public void setLogicalWidth(float logicalWidth) -
getFrames
-
getData
protected byte[] getData() -
getUrl
-
addFrame
-
loadData
Load data by URL. url must be not null. Note, this method doesn't check if data or url is null.- Throws:
IOException
-