org.jfree.report.util
public class ScalingDrawable extends Object implements Drawable
Constructor Summary | |
---|---|
ScalingDrawable() |
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D area)
Draws the object.
|
ExtendedDrawable | getDrawable() |
float | getScaleX() |
float | getScaleY() |
void | setDrawable(ExtendedDrawable drawable) |
void | setScaleX(float scaleX) |
void | setScaleY(float scaleY) |
Parameters: g2 the graphics device. area the area inside which the object should be drawn.