org.pentaho.reporting.libraries.resourceloader.factory.drawable
public class DrawableWrapper extends Object
Constructor and Description |
---|
DrawableWrapper(Object maybeDrawable) |
Modifier and Type | Method and Description |
---|---|
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.
|
public DrawableWrapper(Object maybeDrawable)
public Object getBackend()
public void draw(Graphics2D g2, Rectangle2D bounds)
public Dimension getPreferredSize()
public boolean isPreserveAspectRatio()
public static boolean isDrawable(Object maybeDrawable)