com.metsci.glimpse.painter.geo
Class ScalePainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.geo.ScalePainter
- All Implemented Interfaces:
- GlimpsePainter
public class ScalePainter
- extends GlimpsePainterImpl
Displays a simple distance scale in the lower right corner of the plot.
- Author:
- ulman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScalePainter
public ScalePainter(Axis1D axis)
getBorderColor
public float[] getBorderColor()
setBorderColor
public void setBorderColor(float[] borderColor)
getPrimaryColor
public float[] getPrimaryColor()
setPrimaryColor
public void setPrimaryColor(float[] primaryColor)
getSecondaryColor
public float[] getSecondaryColor()
setSecondaryColor
public void setSecondaryColor(float[] secondaryColor)
getTextColor
public float[] getTextColor()
setTextColor
public void setTextColor(float[] textColor)
getPixelBufferX
public int getPixelBufferX()
setPixelBufferX
public void setPixelBufferX(int buffer)
getPixelBufferY
public int getPixelBufferY()
setPixelBufferY
public void setPixelBufferY(int buffer)
getScaleHeight
public int getScaleHeight()
setPixelHeight
public void setPixelHeight(int pixelHeight)
getPixelHeight
public int getPixelHeight()
setPixelWidth
public void setPixelWidth(int pixelWidth)
getUnitConverter
public AxisUnitConverter getUnitConverter()
setUnitConverter
public void setUnitConverter(AxisUnitConverter converter)
getUnitLabel
public java.lang.String getUnitLabel()
setUnitLabel
public void setUnitLabel(java.lang.String unitLabel)
dispose
public void dispose(javax.media.opengl.GLContext context)
Copyright © 2012 Metron, Inc.. All Rights Reserved.