public class AngleDistanceTextEphemeron extends AbstractUpdatingTextEphemeron
Copyright 2008 Partner Software, Inc.
| Constructor and Description |
|---|
AngleDistanceTextEphemeron(MapSet mapset,
XyPoint anchor,
java.lang.String textStyle)
Creates a new RotationDistanceTextEphemeron.
|
AngleDistanceTextEphemeron(XyPoint anchor,
java.lang.String textStyle)
Creates a new RotationDistanceTextEphemeron.
|
| Modifier and Type | Method and Description |
|---|---|
void |
mangleText(DrawingSurface surface,
MapViewFrame frame,
XyPoint anchor,
XyPoint mousePosition)
Called from each draw cycle.
|
draw, setAlignment, setOffsetX, setOffsetX, setOffsetY, setOffsetY, setRotation, setTextpublic AngleDistanceTextEphemeron(MapSet mapset, XyPoint anchor, java.lang.String textStyle)
mapset - anchor - - Point to find distance and angle from.textStyle - public AngleDistanceTextEphemeron(XyPoint anchor, java.lang.String textStyle)
anchor - - Point to find distance and angle from.textStyle - public void mangleText(DrawingSurface surface, MapViewFrame frame, XyPoint anchor, XyPoint mousePosition)
AbstractUpdatingTextEphemeronmangleText in class AbstractUpdatingTextEphemeron