public class MeasurementPainter extends GlimpseDataPainter2D
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
MeasurementPainter() |
MeasurementPainter(DecimalFormat angleFormatter,
DecimalFormat distanceFormatter) |
MeasurementPainter(String units) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(javax.media.opengl.GLContext context) |
void |
paintTo(javax.media.opengl.GL2 gl,
GlimpseBounds bounds,
Axis2D axis) |
void |
setProtractorColor(float[] rgba) |
void |
setProtractorColor(float r,
float g,
float b,
float a) |
void |
setRulerColor(float[] rgba) |
void |
setRulerColor(float r,
float g,
float b,
float a) |
void |
setRulerWidth(float width) |
void |
setTextColor(float[] rgba) |
void |
setTextColor(float r,
float g,
float b,
float a) |
isAlphaBlend, isLineSmooth, isPointSmooth, paintTo, setAlphaBlend, setLineSmooth, setPointSmooth
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public MeasurementPainter()
public MeasurementPainter(String units)
public MeasurementPainter(DecimalFormat angleFormatter, DecimalFormat distanceFormatter)
public void setRulerWidth(float width)
public void setTextColor(float[] rgba)
public void setTextColor(float r, float g, float b, float a)
public void setRulerColor(float[] rgba)
public void setRulerColor(float r, float g, float b, float a)
public void setProtractorColor(float[] rgba)
public void setProtractorColor(float r, float g, float b, float a)
public void dispose(javax.media.opengl.GLContext context)
public void paintTo(javax.media.opengl.GL2 gl, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpseDataPainter2D
Copyright © 2016 Metron, Inc.. All rights reserved.