public abstract class GridLine extends DrawObject
Constructor and Description |
---|
GridLine()
Grid line color details
|
GridLine(double mark) |
GridLine(double mark,
java.awt.Paint p) |
GridLine(double mark,
java.lang.String name) |
GridLine(double mark,
java.lang.String name,
java.awt.Paint p) |
Modifier and Type | Method and Description |
---|---|
double |
getMark() |
double |
getMax() |
double |
getXOrigin() |
double |
getXShift() |
double |
getYOrigin() |
double |
getYShift() |
void |
setMark(double mark) |
void |
setMax(double max) |
void |
setOrigin(double x,
double y) |
void |
setXShift(double x)
This method sets parameter which determines by how much the whole layer
should be shifted by along the x axis.
|
void |
setYShift(double y)
This method sets parameter which determines by how much the whole layer
should be shifted by along the y axis.
|
public GridLine()
public GridLine(double mark, java.lang.String name)
mark
- for storing the samename
- for storing the samepublic GridLine(double mark, java.awt.Paint p)
mark
- for storing the samep
- for storing the paintpublic GridLine(double mark, java.lang.String name, java.awt.Paint p)
mark
- name
- for storing the namep
- for storing the paint detailspublic GridLine(double mark)
mark
- public void setXShift(double x)
x
- for storing the shift along x axispublic double getXShift()
public void setYShift(double y)
y
- for setting the y shiftpublic double getYShift()
public double getMark()
public void setMark(double mark)
mark
- public double getYOrigin()
public double getXOrigin()
public void setOrigin(double x, double y)
x
- for storing the x originy
- for storing the y originpublic void setMax(double max)
max
- for storing the maximumpublic double getMax()