org.jfree.report.util
Class ScalingDrawable

java.lang.Object
  extended by 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

Constructor Summary
ScalingDrawable()
           
 
Method Summary
 void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)
          Draws the object.
 org.jfree.ui.ExtendedDrawable getDrawable()
           
 float getScaleX()
           
 float getScaleY()
           
 void setDrawable(org.jfree.ui.ExtendedDrawable drawable)
           
 void setScaleX(float scaleX)
           
 void setScaleY(float scaleY)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalingDrawable

public ScalingDrawable()
Method Detail

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.