|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageData
The image data is used whenever libLayout wants to display graphics content. Graphics content includes drawables and image data - as both are static graphical content.
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the object. |
long |
getHeight()
Returns the height of the image in micro-dots. |
org.pentaho.reporting.libraries.resourceloader.Resource |
getSource()
Returns the resource definition that was used to load the image. |
long |
getWidth()
Returns the width of the image in micro-dots. |
Method Detail |
---|
org.pentaho.reporting.libraries.resourceloader.Resource getSource()
long getWidth()
long getHeight()
void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)
g2
- the graphics device.area
- the area inside which the object should be drawn.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |