|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.resourceloader.factory.drawable.DrawableWrapper
org.jfree.report.util.ScalingExtendedDrawable
public class ScalingExtendedDrawable
Creation-Date: 20.01.2006, 19:46:10
Constructor Summary | |
---|---|
ScalingExtendedDrawable(java.lang.Object drawable)
Default constructor. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.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. |
Methods inherited from class org.pentaho.reporting.libraries.resourceloader.factory.drawable.DrawableWrapper |
---|
getBackend, getPreferredSize, isDrawable, isPreserveAspectRatio |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScalingExtendedDrawable(java.lang.Object drawable)
drawable
- the drawable objectMethod Detail |
---|
public float getScaleY()
public void setScaleY(float scaleY)
scaleY
- the scale factor.public float getScaleX()
public void setScaleX(float scaleX)
scaleX
- the scale factor.public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)
draw
in class org.pentaho.reporting.libraries.resourceloader.factory.drawable.DrawableWrapper
g2
- the graphics device.area
- the area inside which the object should be drawn.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |