org.pentaho.reporting.libraries.resourceloader.factory.drawable
public class DrawableWrapper extends Object
Constructor Summary | |
---|---|
DrawableWrapper(Object maybeDrawable) |
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D bounds) |
Object | getBackend() |
Dimension | getPreferredSize()
Returns the preferred size of the drawable. |
static boolean | isDrawable(Object maybeDrawable) |
boolean | isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the drawing.
|
Returns: the preferred size.
Returns: true, if an aspect ratio is preserved, false otherwise.