org.gwoptics.graphics.graph2D.backgrounds
Class SolidColourBackground
java.lang.Object
org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
- All Implemented Interfaces:
- IGraph2DBackground, IRenderable
- Direct Known Subclasses:
- GridBackground
public class SolidColourBackground
- extends java.lang.Object
- implements IGraph2DBackground
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolidColourBackground
public SolidColourBackground(GWColour bk)
setBackgroundColour
public void setBackgroundColour(int R,
int G,
int B)
- Sets the background colour of the graph
setNoBackground
public void setNoBackground()
- Removes any background
setAxes
public void setAxes(Axis2D x,
Axis2D y)
- Specified by:
setAxes
in interface IGraph2DBackground
setDimensions
public void setDimensions(int width,
int height)
- Specified by:
setDimensions
in interface IGraph2DBackground
setParent
public void setParent(processing.core.PApplet parent)
- Specified by:
setParent
in interface IRenderable
draw
public void draw()
- Specified by:
draw
in interface IRenderable
processing library gwoptics by Daniel Brown and Andreas Freise. (c) 2009 onwards