public class TextRenderingGeometry
extends java.lang.Object
Copyright 2007-2008 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
double |
ascent |
XyBounds |
bounds |
double |
height |
double |
lineHeight |
java.lang.String[] |
lines |
XyPoint |
location |
int |
pixelX |
int |
pixelY |
double |
rectX |
double |
rectY |
XyRotation |
rotation |
int |
stringPixelX |
int |
stringPixelY |
java.lang.String |
text |
double |
theta |
XyAffineTransform |
transform |
double |
width |
| Constructor and Description |
|---|
TextRenderingGeometry(MapViewFrame frame,
FontGraphics fontGraphics,
double x,
double y,
int roverRotation,
int alignment,
boolean scaleToMap,
double scaleFactor,
java.lang.String text)
Create a new TextRenderingGeometry and calculate all the relevant factors.
|
TextRenderingGeometry(MapViewFrame frame,
com.sun.opengl.util.j2d.TextRenderer font,
double x,
double y,
int roverRotation,
int alignment,
boolean scaleToMap,
double scaleFactor,
java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
XyPoint[] |
createBox() |
XyPoint[] |
createCircle() |
XyPoint[] |
createHexBox() |
XyPoint[] |
createTransformedBox() |
XyPoint[] |
createTransformedCircle() |
XyPoint[] |
createTransformedHexBox() |
boolean |
intersects(XyBounds selectionBounds) |
java.lang.String |
toString() |
public XyPoint location
public java.lang.String text
public java.lang.String[] lines
public double lineHeight
public XyBounds bounds
public XyRotation rotation
public int pixelX
public int pixelY
public int stringPixelX
public int stringPixelY
public double theta
public double ascent
public XyAffineTransform transform
public double width
public double height
public double rectX
public double rectY
public TextRenderingGeometry(MapViewFrame frame, FontGraphics fontGraphics, double x, double y, int roverRotation, int alignment, boolean scaleToMap, double scaleFactor, java.lang.String text)
public TextRenderingGeometry(MapViewFrame frame, com.sun.opengl.util.j2d.TextRenderer font, double x, double y, int roverRotation, int alignment, boolean scaleToMap, double scaleFactor, java.lang.String text)
public boolean intersects(XyBounds selectionBounds)
public XyPoint[] createTransformedBox()
public XyPoint[] createBox()
public XyPoint[] createCircle()
public XyPoint[] createTransformedCircle()
public XyPoint[] createTransformedHexBox()
public XyPoint[] createHexBox()
public java.lang.String toString()
toString in class java.lang.Object