|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.content.ShapeTransform
Utility class, which resizes a Shape.
Method Summary | |
static java.awt.Shape |
transformShape(java.awt.Shape s,
boolean scale,
boolean keepAR,
java.awt.geom.Dimension2D dim)
Translates the given shape. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.awt.Shape transformShape(java.awt.Shape s, boolean scale, boolean keepAR, java.awt.geom.Dimension2D dim)
point
. If scaling is requested, the shape will also be scaled
using an AffineTransform.
s
- the shape that should be transformedscale
- true, if the shape should be scaled, false otherwisekeepAR
- true, if the scaled shape should keep the aspect ratiodim
- the target dimension.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |