Class ScalePainter

  • All Implemented Interfaces:
    GlimpsePainter

    public class ScalePainter
    extends GlimpsePainterBase
    Displays a simple distance scale in the lower right corner of the plot.
    Author:
    ulman
    • Constructor Detail

      • ScalePainter

        public ScalePainter()
    • Method Detail

      • 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)
      • getUnitLabel

        public String getUnitLabel()
      • setUnitLabel

        public void setUnitLabel​(String unitLabel)
      • setShowTickLength

        public void setShowTickLength​(boolean show)
      • setShowOverallLength

        public void setShowOverallLength​(boolean show)