public class AnnotationPainter extends GlimpseDataPainter2D
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationPainter.Annotation |
static class |
AnnotationPainter.AnnotationFont |
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
AnnotationPainter() |
Modifier and Type | Method and Description |
---|---|
AnnotationPainter.Annotation |
addAnnotation(AnnotationPainter.Annotation annotation) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y,
int offset_x,
int offset_y,
boolean centerX,
boolean centerY,
AnnotationPainter.AnnotationFont font,
float[] color) |
AnnotationPainter.Annotation |
addAnnotation(com.jogamp.opengl.util.awt.TextRenderer textRenderer,
String text,
float x,
float y,
int offset_x,
int offset_y,
boolean centerX,
boolean centerY,
float[] color) |
void |
clearAnnotations() |
void |
displayTime(long time) |
void |
displayTimeRange(long minTime,
long maxTime) |
void |
paintTo(javax.media.opengl.GL2 gl,
GlimpseBounds bounds,
Axis2D axis) |
isAlphaBlend, isLineSmooth, isPointSmooth, paintTo, setAlphaBlend, setLineSmooth, setPointSmooth
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y)
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y, int offset_x, int offset_y, boolean centerX, boolean centerY, AnnotationPainter.AnnotationFont font, float[] color)
public AnnotationPainter.Annotation addAnnotation(com.jogamp.opengl.util.awt.TextRenderer textRenderer, String text, float x, float y, int offset_x, int offset_y, boolean centerX, boolean centerY, float[] color)
public AnnotationPainter.Annotation addAnnotation(AnnotationPainter.Annotation annotation)
public void clearAnnotations()
public void displayTime(long time)
public void displayTimeRange(long minTime, long maxTime)
public void paintTo(javax.media.opengl.GL2 gl, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpseDataPainter2D
Copyright © 2013 Metron, Inc.. All rights reserved.