org.jfree.report.util
Class ScalingDrawable
java.lang.Object
org.jfree.report.util.ScalingDrawable
- All Implemented Interfaces:
- org.jfree.ui.Drawable
public class ScalingDrawable
- extends java.lang.Object
- implements org.jfree.ui.Drawable
Creation-Date: 20.01.2006, 19:46:10
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScalingDrawable
public ScalingDrawable()
getDrawable
public org.jfree.ui.ExtendedDrawable getDrawable()
setDrawable
public void setDrawable(org.jfree.ui.ExtendedDrawable drawable)
getScaleY
public float getScaleY()
setScaleY
public void setScaleY(float scaleY)
getScaleX
public float getScaleX()
setScaleX
public void setScaleX(float scaleX)
draw
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
- Draws the object.
- Specified by:
draw
in interface org.jfree.ui.Drawable
- Parameters:
g2
- the graphics device.area
- the area inside which the object should be drawn.