com.metsci.glimpse.painter.decoration
Class MapBorderPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.decoration.MapBorderPainter
- All Implemented Interfaces:
- GlimpsePainter
public class MapBorderPainter
- extends GlimpsePainter2D
An alternative BorderPainter
which displays alternating
white and black lines (to emulate a geographic map border).
- Author:
- ulman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapBorderPainter
public MapBorderPainter(AxisLabelHandler ticksX,
AxisLabelHandler ticksY)
setBorderSize
public void setBorderSize(int size)
setInnerColor
public void setInnerColor(float r,
float g,
float b,
float a)
setInnerColor
public void setInnerColor(float[] rgba)
setOuterColor
public void setOuterColor(float r,
float g,
float b,
float a)
setOuterColor
public void setOuterColor(float[] rgba)
paintTo
public void paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis)
- Specified by:
paintTo
in class GlimpsePainter2D
Copyright © 2012 Metron, Inc.. All Rights Reserved.