org.jfree.layouting.modules.output.graphics
public class LogicalPageDrawable extends Object implements PageDrawable
| Constructor Summary | |
|---|---|
| LogicalPageDrawable(LogicalPageBox rootBox) | |
| Method Summary | |
|---|---|
| void | draw(Graphics2D g2, Rectangle2D area)
Draws the object.
|
| void | drawBox(Graphics2D g2, RenderBox box, int level) |
| PageFormat | getPageFormat() |
| Dimension | getPreferredSize()
Returns the preferred size of the drawable. |
| static String | glpyhToString(Glyph g) |
| boolean | isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the
drawing.
|
Parameters: g2 the graphics device. area the area inside which the object should be drawn.
Returns: the preferred size.
Returns: true, if an aspect ratio is preserved, false otherwise.