public class GridPainter extends GlimpseDataPainter2D
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
GridPainter() |
GridPainter(AxisLabelHandler ticksX,
AxisLabelHandler ticksY) |
Modifier and Type | Method and Description |
---|---|
void |
paintTo(javax.media.opengl.GL2 gl,
GlimpseBounds bounds,
Axis2D axis) |
void |
setDotted(boolean dotted) |
GridPainter |
setLineColor(float[] rgba) |
GridPainter |
setLineColor(float r,
float g,
float b,
float a) |
GridPainter |
setMinorLineColor(float[] rgba) |
GridPainter |
setShowHorizontalLines(boolean show) |
GridPainter |
setShowMinorGrid(boolean showMinorTicks) |
GridPainter |
setShowVerticalLines(boolean show) |
GridPainter |
setTickHandlerX(AxisLabelHandler ticksX) |
GridPainter |
setTickHandlerY(AxisLabelHandler ticksY) |
isAlphaBlend, isLineSmooth, isPointSmooth, paintTo, setAlphaBlend, setLineSmooth, setPointSmooth
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public GridPainter(AxisLabelHandler ticksX, AxisLabelHandler ticksY)
public GridPainter()
public void setDotted(boolean dotted)
public GridPainter setLineColor(float r, float g, float b, float a)
public GridPainter setLineColor(float[] rgba)
public GridPainter setMinorLineColor(float[] rgba)
public GridPainter setShowMinorGrid(boolean showMinorTicks)
public GridPainter setShowVerticalLines(boolean show)
public GridPainter setShowHorizontalLines(boolean show)
public GridPainter setTickHandlerX(AxisLabelHandler ticksX)
public GridPainter setTickHandlerY(AxisLabelHandler ticksY)
public void paintTo(javax.media.opengl.GL2 gl, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpseDataPainter2D
Copyright © 2016 Metron, Inc.. All rights reserved.