|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground
org.gwoptics.graphics.graph2D.backgrounds.GridBackground
public class GridBackground
Constructor Summary | |
---|---|
GridBackground()
Constructors * |
|
GridBackground(GWColour background)
|
|
GridBackground(GWColour gridColour,
GWColour background)
|
|
GridBackground(GWColour gridColour,
GWColour background,
boolean ShowXAxisLines,
boolean ShowYAxisLines)
|
Method Summary | |
---|---|
void |
draw()
|
void |
setGridColour(int R,
int G,
int B)
Sets the colour of the major grid lines * |
void |
setGridColour(int Rx,
int Gx,
int Bx,
int Ry,
int Gy,
int By)
Set colour of grid lines independently *x sets X-axis line and *y set Y-axis line colours. |
void |
setGridLines(boolean ShowXAxisLines,
boolean ShowYAxisLines)
Sets which lines to to show * |
void |
setNoGrid()
Removes major grid lines * |
Methods inherited from class org.gwoptics.graphics.graph2D.backgrounds.SolidColourBackground |
---|
setAxes, setBackgroundColour, setDimensions, setNoBackground, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridBackground()
public GridBackground(GWColour background)
public GridBackground(GWColour gridColour, GWColour background)
public GridBackground(GWColour gridColour, GWColour background, boolean ShowXAxisLines, boolean ShowYAxisLines)
Method Detail |
---|
public void setGridColour(int R, int G, int B)
public void setGridColour(int Rx, int Gx, int Bx, int Ry, int Gy, int By)
public void setNoGrid()
public void setGridLines(boolean ShowXAxisLines, boolean ShowYAxisLines)
public void draw()
draw
in interface IRenderable
draw
in class SolidColourBackground
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |