public class MapBorderPainter extends GlimpsePainter2D
BorderPainter
which displays alternating
white and black lines (to emulate a geographic map border).BYTES_PER_FLOAT, logger
Constructor and Description |
---|
MapBorderPainter(AxisLabelHandler ticksX,
AxisLabelHandler ticksY) |
Modifier and Type | Method and Description |
---|---|
int |
getBorderSize() |
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis) |
void |
setBorderSize(int size) |
void |
setInnerColor(float[] rgba) |
void |
setInnerColor(float r,
float g,
float b,
float a) |
void |
setOuterColor(float[] rgba) |
void |
setOuterColor(float r,
float g,
float b,
float a) |
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public MapBorderPainter(AxisLabelHandler ticksX, AxisLabelHandler ticksY)
public int getBorderSize()
public void setBorderSize(int size)
public void setInnerColor(float r, float g, float b, float a)
public void setInnerColor(float[] rgba)
public void setOuterColor(float r, float g, float b, float a)
public void setOuterColor(float[] rgba)
public void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpsePainter2D
Copyright © 2016 Metron, Inc.. All rights reserved.