com.metsci.glimpse.painter.decoration
Class BorderPainter

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.decoration.BorderPainter
All Implemented Interfaces:
GlimpsePainter

public class BorderPainter
extends GlimpsePainterImpl

Paints a simple solid color line border around the outside of the plot.

Author:
ulman

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
BorderPainter()
           
 
Method Summary
 BorderPainter setColor(float[] rgba)
           
 BorderPainter setColor(float r, float g, float b, float a)
           
 BorderPainter setDotted(boolean dotted)
           
 BorderPainter setLineWidth(float lineWidth)
           
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderPainter

public BorderPainter()
Method Detail

setDotted

public BorderPainter setDotted(boolean dotted)

setLineWidth

public BorderPainter setLineWidth(float lineWidth)

setColor

public BorderPainter setColor(float[] rgba)

setColor

public BorderPainter setColor(float r,
                              float g,
                              float b,
                              float a)


Copyright © 2012 Metron, Inc.. All Rights Reserved.