|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectshady.common.ui.GraphicsDisplay.Annotation
protected static class GraphicsDisplay.Annotation
An annotation that gets drawn after the environment and before shady.
| Field Summary | |
|---|---|
(package private) java.awt.Color |
color
The color of this annotation, default GraphicsDisplay.DEFAULT_ANNOTATION_COLOR. |
(package private) float |
lineWidth
The line width in pixels of this annotation, default GraphicsDisplay.DEFAULT_ANNOTATION_LINE_WIDTH. |
(package private) java.lang.String |
name
The name of this annotation, not null, unique. |
(package private) java.awt.Shape |
shape
The shape of this annotation, not null. |
| Constructor Summary | |
|---|---|
GraphicsDisplay.Annotation(java.lang.String name,
java.awt.Shape shape,
java.awt.Color color,
float lineWidth)
Create a new annotation. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final java.lang.String name
The name of this annotation, not null, unique.
final java.awt.Shape shape
The shape of this annotation, not null.
final java.awt.Color color
The color of this annotation, default GraphicsDisplay.DEFAULT_ANNOTATION_COLOR.
final float lineWidth
The line width in pixels of this annotation, default GraphicsDisplay.DEFAULT_ANNOTATION_LINE_WIDTH.
| Constructor Detail |
|---|
GraphicsDisplay.Annotation(java.lang.String name,
java.awt.Shape shape,
java.awt.Color color,
float lineWidth)
Create a new annotation.
name - the name of the annotation, not nullshape - the shape to draw in meters in world frame, not nullcolor - the color to use to draw the annotation, if null GraphicsDisplay.DEFAULT_ANNOTATION_COLORlineWidth - the line width to use to draw the annotation, in
pixels, if <= 0.0 GraphicsDisplay.DEFAULT_ANNOTATION_LINE_WIDTH
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||