org.eclipse.birt.report.engine.layout.emitter
Interface IPage


public interface IPage


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, TextStyle textStyle)
          Draws text at specified position with specified styles.
 

Method Detail

dispose

public void dispose()

clip

public void clip(int startX,
                 int startY,
                 int width,
                 int height)
Clips a rectangle area.

Parameters:
startX - x coordinate of left upper corner.
startY - y coordinate of left upper corner.
width - width of the area.
height - height of the area.

clipSave

public void clipSave()
Saves current clip state.


clipRestore

public void clipRestore()
Restores last saved clip state.


drawText

public void drawText(java.lang.String text,
                     int textX,
                     int textY,
                     int width,
                     int height,
                     TextStyle textStyle)
Draws text at specified position with specified styles.

Parameters:
text - the text.
textX - p
textY -

drawImage

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
Throws:
java.lang.Exception

drawImage

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
Throws:
java.lang.Exception

drawLine

public 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.

Parameters:
startX - the start X coordinate of the line
startY - the start Y coordinate of the line
endX - the end X coordinate of the line
endY - the end Y coordinate of the line
width - the lineWidth
color - the color of the line
lineStyle - the given line style

drawBackgroundColor

public void drawBackgroundColor(java.awt.Color color,
                                int x,
                                int y,
                                int width,
                                int height)
Draws the background color at the contentByteUnder of the pdf

Parameters:
color - the color to be drawed
x - the start X coordinate
y - the start Y coordinate
width - the width of the background dimension
height - the height of the background dimension

drawBackgroundImage

public 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
Throws:
java.io.IOException


Copyright © 2005 Actuate Corp. All rights reserved.