|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.RotationTransformer
public class RotationTransformer
RotationTransformer is used to transform point or shape when the PainterPaintable is rotated 90 or 270 degree.
| Field Summary | |
|---|---|
protected Point |
origin
|
protected inetsoft.report.internal.PainterPaintable |
paintable
|
protected AffineTransform |
trans
|
| Constructor Summary | |
|---|---|
RotationTransformer(Point origin,
inetsoft.report.internal.PainterPaintable pt)
Constructor. |
|
| Method Summary | |
|---|---|
protected Point |
convertCoordinate(Point point)
Convert a coordinate from math to java or from java to math. |
protected inetsoft.report.internal.RectangleRegion |
createPaintingRectangle(String name,
Point[] ps)
Create painting rectangle for 90 rotation. |
protected inetsoft.report.internal.Region |
getLocDimDescripingRegion(inetsoft.report.internal.Region region)
Get the rectangle and ellipse region of the original region. |
Point |
getOriginal2RotatedPos(Point point)
Get the position mapped from original to rotated. |
inetsoft.report.internal.Region |
getPaintingRegion(inetsoft.report.internal.Region region)
Get the painting region of the original region. |
protected inetsoft.report.internal.Region |
getPointsDiscriptingRegion(inetsoft.report.internal.PolygonRegion region)
Get the polygon region of the original region. |
Point |
getRotated2OriginalPos(Point point)
Get the position mapped from rotated to original. |
static RotationTransformer |
getRotationTransformer(Point origin,
inetsoft.report.internal.PainterPaintable pt)
Get the RotationTransformer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AffineTransform trans
protected inetsoft.report.internal.PainterPaintable paintable
protected Point origin
| Constructor Detail |
|---|
public RotationTransformer(Point origin,
inetsoft.report.internal.PainterPaintable pt)
| Method Detail |
|---|
public static RotationTransformer getRotationTransformer(Point origin,
inetsoft.report.internal.PainterPaintable pt)
origin - the origin point.pt - the paitable.
public Point getRotated2OriginalPos(Point point)
public Point getOriginal2RotatedPos(Point point)
throws NoninvertibleTransformException
NoninvertibleTransformExceptionpublic inetsoft.report.internal.Region getPaintingRegion(inetsoft.report.internal.Region region)
protected inetsoft.report.internal.Region getLocDimDescripingRegion(inetsoft.report.internal.Region region)
protected inetsoft.report.internal.Region getPointsDiscriptingRegion(inetsoft.report.internal.PolygonRegion region)
protected inetsoft.report.internal.RectangleRegion createPaintingRectangle(String name,
Point[] ps)
protected Point convertCoordinate(Point point)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||