2 Copyright (C) 2001, 2006, 2007 United States Government
3 as represented by the Administrator of the
4 National Aeronautics and Space Administration.
7 package gov
.nasa
.worldwind
.render
;
9 import gov
.nasa
.worldwind
.pick
.Pickable
;
10 import gov
.nasa
.worldwind
.pick
.PickSupport
;
11 import gov
.nasa
.worldwind
.Disposable
;
13 import javax
.media
.opengl
.GL
;
17 * Represent a text label and its rendering attributes.
18 * @author Patrick Murris
21 public interface Annotation
extends Renderable
, Pickable
, Disposable
23 public static final String IMAGE_REPEAT_NONE
= "render.Annotation.RepeatNone";
24 public static final String IMAGE_REPEAT_X
= "render.Annotation.RepeatX";
25 public static final String IMAGE_REPEAT_Y
= "render.Annotation.RepeatY";
26 public static final String IMAGE_REPEAT_XY
= "render.Annotation.RepeatXY";
28 public final static int ANTIALIAS_DONT_CARE
= GL
.GL_DONT_CARE
;
29 public final static int ANTIALIAS_FASTEST
= GL
.GL_FASTEST
;
30 public final static int ANTIALIAS_NICEST
= GL
.GL_NICEST
;
32 public final static String SIZE_FIXED
= "render.Annotation.SizeFixed";
33 public final static String SIZE_FIT_TEXT
= "render.Annotation.SizeFitText";
35 public String
getText();
37 public void setText(String text
);
39 public AnnotationAttributes
getAttributes();
41 public void setAttributes(AnnotationAttributes attrs
);
43 public void setPickSupport(PickSupport pickSupport
);
45 public void draw(DrawContext dc
);