|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
clip(int startX,
int startY,
int width,
int height)
Clips a rectangle area. |
void |
clipRestore()
Restores last saved clip state. |
void |
clipSave()
Saves current clip state. |
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,
java.lang.String repeat,
java.lang.String imageUrl,
int absPosX,
int absPosY)
|
void |
drawImage(byte[] imageData,
java.lang.String extension,
int imageX,
int imageY,
int height,
int width,
java.lang.String helpText)
|
void |
drawImage(java.lang.String uri,
java.lang.String extension,
int imageX,
int imageY,
int height,
int width,
java.lang.String helpText)
|
void |
drawLine(int startX,
int startY,
int endX,
int endY,
int width,
java.awt.Color color,
java.lang.String lineStyle)
Draws a line from the start position to the end position with the given linewidth, color, and style at the given pdf layer. |
void |
drawText(java.lang.String text,
int textX,
int textY,
int width,
int height,
org.eclipse.birt.report.engine.layout.TextStyle textStyle)
Draws text at specified position with specified styles. |
Method Detail |
public void dispose()
public void clip(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.public void clipSave()
public void clipRestore()
public void drawText(java.lang.String text, int textX, int textY, int width, int height, org.eclipse.birt.report.engine.layout.TextStyle textStyle)
text
- the text.textX
- ptextY
- public void drawImage(byte[] imageData, java.lang.String extension, int imageX, int imageY, int height, int width, java.lang.String helpText) throws java.lang.Exception
java.lang.Exception
public void drawImage(java.lang.String uri, java.lang.String extension, int imageX, int imageY, int height, int width, java.lang.String helpText) throws java.lang.Exception
java.lang.Exception
public void drawLine(int startX, int startY, int endX, int endY, int width, java.awt.Color color, java.lang.String 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 stylepublic void drawBackgroundColor(java.awt.Color color, int x, int y, int width, int height)
color
- the color to be drawedx
- the start X coordinatey
- the start Y coordinatewidth
- the width of the background dimensionheight
- the height of the background dimensionpublic void drawBackgroundImage(int x, int y, int width, int height, java.lang.String repeat, java.lang.String imageUrl, int absPosX, int absPosY) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |