Package com.itextpdf.io.image
Class GifImageData
java.lang.Object
com.itextpdf.io.image.GifImageData
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GifImageData
(byte[] data) protected
GifImageData
(URL url) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected byte[]
getData()
float
float
protected URL
getUrl()
(package private) void
loadData()
Load data by URL.void
setLogicalHeight
(float logicalHeight) void
setLogicalWidth
(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
-