org.pentaho.reporting.libraries.resourceloader.modules.factory.svg
public class SVGDrawable extends Object
| Constructor Summary | |
|---|---|
| SVGDrawable(GraphicsNode rootNode) | |
| Method Summary | |
|---|---|
| void | draw(Graphics2D g, Rectangle2D area)
Draws the object.
|
| Dimension | getPreferredSize()
Returns the preferred size of the drawable. |
| boolean | isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the
drawing.
|
Parameters: g 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.