public abstract class ImageData extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
bpc |
protected int |
colorSpace |
protected int |
colorTransform |
protected byte[] |
data |
protected float[] |
decode |
protected Map<String,Object> |
decodeParms |
protected boolean |
deflated |
protected int |
dpiX |
protected int |
dpiY |
protected String |
filter |
protected float |
height |
protected Map<String,Object> |
imageAttributes |
protected ImageData |
imageMask |
protected int |
imageSize |
protected boolean |
interpolation |
protected boolean |
inverted |
protected boolean |
mask |
protected Long |
mySerialId |
protected ImageType |
originalType |
protected IccProfile |
profile |
protected float |
rotation |
protected int[] |
transparency |
protected URL |
url |
protected float |
width |
protected float |
XYRatio |
Modifier | Constructor and Description |
---|---|
protected |
ImageData(byte[] bytes, ImageType type) |
protected |
ImageData(URL url, ImageType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeMask() |
boolean |
canImageBeInline()
Checks if image can be inline
|
int |
getBpc() |
int |
getColorSpace() |
int |
getColorTransform() |
byte[] |
getData() |
float[] |
getDecode() |
Map<String,Object> |
getDecodeParms() |
int |
getDpiX() |
int |
getDpiY() |
String |
getFilter() |
float |
getHeight() |
Map<String,Object> |
getImageAttributes() |
ImageData |
getImageMask() |
ImageType |
getOriginalType() |
IccProfile |
getProfile() |
float |
getRotation() |
int[] |
getTransparency() |
URL |
getUrl() |
float |
getWidth() |
float |
getXYRatio() |
boolean |
isDeflated() |
boolean |
isInterpolation() |
boolean |
isInverted() |
boolean |
isMask() |
boolean |
isRawImage() |
boolean |
isSoftMask() |
void |
makeMask() |
void |
setBpc(int bpc) |
void |
setColorSpace(int colorSpace) |
void |
setColorTransform(int colorTransform) |
void |
setDecode(float[] decode) |
void |
setDeflated(boolean deflated) |
void |
setDpi(int dpiX, int dpiY) |
void |
setFilter(String filter) |
void |
setHeight(float height) |
void |
setImageAttributes(Map<String,Object> imageAttributes) |
void |
setImageMask(ImageData imageMask) |
void |
setInterpolation(boolean interpolation) |
void |
setInverted(boolean inverted) |
void |
setProfile(IccProfile profile) |
void |
setRotation(float rotation) |
void |
setTransparency(int[] transparency) |
void |
setUrl(URL url) |
void |
setWidth(float width) |
void |
setXYRatio(float XYRatio) |
protected URL url
protected int[] transparency
protected ImageType originalType
protected float width
protected float height
protected byte[] data
protected int imageSize
protected int bpc
protected int colorSpace
protected float[] decode
protected boolean inverted
protected float rotation
protected IccProfile profile
protected int dpiX
protected int dpiY
protected int colorTransform
protected boolean deflated
protected boolean mask
protected ImageData imageMask
protected boolean interpolation
protected float XYRatio
protected String filter
protected Long mySerialId
protected ImageData(byte[] bytes, ImageType type)
public boolean isRawImage()
public URL getUrl()
public void setUrl(URL url)
public int[] getTransparency()
public void setTransparency(int[] transparency)
public boolean isInverted()
public void setInverted(boolean inverted)
public float getRotation()
public void setRotation(float rotation)
public IccProfile getProfile()
public void setProfile(IccProfile profile)
public int getDpiX()
public int getDpiY()
public void setDpi(int dpiX, int dpiY)
public int getColorTransform()
public void setColorTransform(int colorTransform)
public boolean isDeflated()
public void setDeflated(boolean deflated)
public ImageType getOriginalType()
public int getColorSpace()
public void setColorSpace(int colorSpace)
public byte[] getData()
public boolean canBeMask()
public boolean isMask()
public ImageData getImageMask()
public void setImageMask(ImageData imageMask)
public boolean isSoftMask()
public void makeMask()
public float getWidth()
public void setWidth(float width)
public float getHeight()
public void setHeight(float height)
public int getBpc()
public void setBpc(int bpc)
public boolean isInterpolation()
public void setInterpolation(boolean interpolation)
public float getXYRatio()
public void setXYRatio(float XYRatio)
public String getFilter()
public void setFilter(String filter)
public float[] getDecode()
public void setDecode(float[] decode)
public boolean canImageBeInline()
Copyright © 1998–2016 iText Group NV. All rights reserved.