public interface IPage
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
drawBackgroundColor(java.awt.Color color,
int x,
int y,
int width,
int height)
Draws the background color at the contentByteUnder of the pdf
|
void |
drawBackgroundImage(int x,
int y,
int width,
int height,
int imageWidth,
int imageHeight,
int repeat,
java.lang.String imageUrl,
byte[] imageData,
int absPosX,
int absPosY) |
void |
drawImage(java.lang.String imageId,
byte[] imageData,
java.lang.String extension,
int imageX,
int imageY,
int height,
int width,
java.lang.String helpText,
java.util.Map params) |
void |
drawImage(java.lang.String uri,
java.lang.String extension,
int imageX,
int imageY,
int height,
int width,
java.lang.String helpText,
java.util.Map params) |
void |
drawLine(int startX,
int startY,
int endX,
int endY,
int width,
java.awt.Color color,
int lineStyle)
Draws a line from the start position to the end position with the given
line width, color, and style.
|
void |
drawText(java.lang.String text,
int textX,
int textY,
int width,
int height,
TextStyle textStyle)
Draws text at specified position with specified styles.
|
void |
endClip()
restores last graphic state.
|
void |
showHelpText(java.lang.String text,
int x,
int y,
int width,
int height) |
void |
startClip(int startX,
int startY,
int width,
int height)
Saves last graphic state, and clips a rectangle area.
|
void dispose()
void startClip(int startX, int startY, int width, int height)
startX
- x coordinate of left upper corner.startY
- y coordinate of left upper corner.width
- width of the area.height
- height of the area.void endClip()
void drawText(java.lang.String text, int textX, int textY, int width, int height, TextStyle textStyle)
text
- textX
- textY
- width
- height
- textStyle
- void drawImage(java.lang.String imageId, byte[] imageData, java.lang.String extension, int imageX, int imageY, int height, int width, java.lang.String helpText, java.util.Map params) throws java.lang.Exception
java.lang.Exception
void drawImage(java.lang.String uri, java.lang.String extension, int imageX, int imageY, int height, int width, java.lang.String helpText, java.util.Map params) throws java.lang.Exception
java.lang.Exception
void drawLine(int startX, int startY, int endX, int endY, int width, java.awt.Color color, int lineStyle)
startX
- the start X coordinate of the linestartY
- the start Y coordinate of the lineendX
- the end X coordinate of the lineendY
- the end Y coordinate of the linewidth
- the lineWidthcolor
- the color of the linelineStyle
- the given line stylevoid drawBackgroundColor(java.awt.Color color, int x, int y, int width, int height)
color
- the color to be drawnx
- the start X coordinatey
- the start Y coordinatewidth
- the width of the background dimensionheight
- the height of the background dimensionvoid drawBackgroundImage(int x, int y, int width, int height, int imageWidth, int imageHeight, int repeat, java.lang.String imageUrl, byte[] imageData, int absPosX, int absPosY) throws java.lang.Exception
java.lang.Exception
void showHelpText(java.lang.String text, int x, int y, int width, int height)
Copyright © 2014 OpenText Corp. All rights reserved.