|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageBuilder
Name: ImageBuilder
Description: An interface for image builders, used by the ImageTag class.
Method Summary | |
---|---|
com.lowagie.text.Image |
buildImage(DocumentHandler documentHandler,
byte[] imageData,
String path,
float width,
float height,
int page)
Builds an image from the given data. |
boolean |
checkFormat(byte[] imageData)
Checks, if the implementation is capable of handling the given image data or not. |
Method Detail |
---|
boolean checkFormat(byte[] imageData)
imageData
- The image data to handle.
com.lowagie.text.Image buildImage(DocumentHandler documentHandler, byte[] imageData, String path, float width, float height, int page) throws IOException
documentHandler
- The document handler.imageData
- The image data to handle.path
- The path, where the image is located at the resoure loader.width
- The desired output width for the image (zero if unspecified).height
- The desired output height for the image (zero if unspecified).page
- The number of the page to use as image, useless for the most image builders.
IOException
- In case the image creation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |