org.jfree.report.util
public class ScalingDrawable extends DrawableWrapper
Constructor Summary | |
---|---|
ScalingDrawable(Object drawable)
Default constructor. |
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D area)
Draws the object.
|
float | getScaleX()
Returns the horizontal scale factor.
|
float | getScaleY()
Returns the vertical scale factor.
|
void | setScaleX(float scaleX)
Defines the horizontal scale factor.
|
void | setScaleY(float scaleY)
Defines the vertical scale factor.
|
Parameters: drawable the drawable object
Parameters: g2 the graphics device. area the area inside which the object should be drawn.
Returns: the scale factor.
Returns: the scale factor.
Parameters: scaleX the scale factor.
Parameters: scaleY the scale factor.