org.jfree.report.util

Class ScalingDrawable

public class ScalingDrawable extends Object implements Drawable

Creation-Date: 20.01.2006, 19:46:10

Author: Thomas Morgner

Constructor Summary
ScalingDrawable()
Method Summary
voiddraw(Graphics2D g2, Rectangle2D area)
Draws the object.
ExtendedDrawablegetDrawable()
floatgetScaleX()
floatgetScaleY()
voidsetDrawable(ExtendedDrawable drawable)
voidsetScaleX(float scaleX)
voidsetScaleY(float scaleY)

Constructor Detail

ScalingDrawable

public ScalingDrawable()

Method Detail

draw

public void draw(Graphics2D g2, Rectangle2D area)
Draws the object.

Parameters: g2 the graphics device. area the area inside which the object should be drawn.

getDrawable

public ExtendedDrawable getDrawable()

getScaleX

public float getScaleX()

getScaleY

public float getScaleY()

setDrawable

public void setDrawable(ExtendedDrawable drawable)

setScaleX

public void setScaleX(float scaleX)

setScaleY

public void setScaleY(float scaleY)