Example usage for Java com.lowagie.text Image fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT this is a kind of image alignment. |
int | RIGHT this is a kind of image alignment. |
int | LEFT this is a kind of image alignment. |
int | MIDDLE this is a kind of image alignment. |
int | TEXTWRAP this is a kind of image alignment. |
int | UNDERLYING this is a kind of image alignment. |
int | ORIGINAL_JPEG type of image |
int | ORIGINAL_PNG type of image |
int | ORIGINAL_GIF type of image |
int | ORIGINAL_BMP type of image |
int | ORIGINAL_TIFF type of image |
int | ORIGINAL_JPEG2000 type of image |
float | absoluteX This is the absolute X-position of the image. |
float | absoluteY This is the absolute Y-position of the image. |
float | plainWidth This is the width of the image without rotation. |
float | plainHeight This is the width of the image without rotation. |
float | scaledWidth This is the scaled width of the image taking rotation into account. |
float | scaledHeight This is the original height of the image taking rotation into account. |
float | getAbsoluteX() Returns the absolute X position. |
float | getAbsoluteY() Returns the absolute Y position. |
int | getDpiX() Gets the dots-per-inch in the X direction. |
int | getDpiY() Gets the dots-per-inch in the Y direction. |
Image | getInstance(URL url) Gets an instance of an Image. |
Image | getInstance(String filename) Gets an instance of an Image. |
Image | getInstance(byte imgb[]) gets an instance of an Image |
Image | getInstance(PdfTemplate template) gets an instance of an Image |
Image | getInstance(PRIndirectReference ref) Reuses an existing image. |
Image | getInstance(Image image) gets an instance of an Image |
Image | getInstance(java.awt.Image image, java.awt.Color color) Gets an instance of an Image from a java.awt.Image. |
Image | getInstance(java.awt.Image image, java.awt.Color color, boolean forceBW) Gets an instance of an Image from a java.awt.Image. |
Image | getInstance(PdfWriter writer, java.awt.Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image. |
Image | getInstance(PdfContentByte cb, java.awt.Image awtImage, float quality) Gets an instance of a Image from a java.awt.Image. |
Image | getInstance(int width, int height, int components, int bpc, byte data[]) Gets an instance of an Image in raw mode. |
int | getOriginalType() Getter for property originalType. |
float | getPlainHeight() Gets the plain height of the image. |
float | getPlainWidth() Gets the plain width of the image. |
float | getScaledHeight() Gets the scaled height of the image. |
float | getScaledWidth() Gets the scaled width of the image. |
URL | getUrl() Gets the String -representation of the reference to the image. |
void | makeMask() Make this Image a mask. |
void | scaleAbsolute(float newWidth, float newHeight) Scale the image to an absolute width and an absolute height. |
void | scaleAbsoluteHeight(float newHeight) Scale the image to an absolute height. |
void | scaleAbsoluteWidth(float newWidth) Scale the image to an absolute width. |
void | scalePercent(float percent) Scale the image to a certain percentage. |
void | scalePercent(float percentX, float percentY) Scale the width and height of an image to a certain percentage. |
void | scaleToFit(float fitWidth, float fitHeight) Scales the image so that it fits a certain width and height. |
void | setAbsolutePosition(float absoluteX, float absoluteY) Sets the absolute position of the Image . |
void | setAlignment(int alignment) Sets the alignment for the image. |
void | setAlt(String alt) Sets the alternative information for the image. |
void | setAnnotation(Annotation annotation) Sets the annotation of this Image. |
void | setCompressionLevel(int compressionLevel) Sets the compression level to be used if the image is written as a compressed stream. |
void | setDirectReference(PdfIndirectReference directReference) Setter for property directReference. |
void | setDpi(int dpiX, int dpiY) Sets the dots per inch value |
void | setImageMask(Image mask) Sets the explicit masking. |
void | setIndentationLeft(float f) Sets the left indentation. |
void | setInitialRotation(float initialRotation) Some image formats, like TIFF may present the images rotated that have to be compensated. |
void | setInverted(boolean invert) Sets inverted true or false |
void | setRotation(float r) Sets the rotation of the image in radians. |
void | setRotationDegrees(float deg) Sets the rotation of the image in degrees. |
void | setSpacingAfter(float spacing) Sets the spacing after this image. |
void | setSpacingBefore(float spacing) Sets the spacing before this image. |
void | setTransparency(int transparency[]) Sets the transparency values |
void | setWidthPercentage(float widthPercentage) Setter for property widthPercentage. |