public abstract class GridLine extends DrawObject
Constructor and Description |
---|
GridLine() |
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
- name
- public GridLine(double mark, java.awt.Paint p)
mark
- p
- public GridLine(double mark, java.lang.String name, java.awt.Paint p)
mark
- name
- p
- public GridLine(double mark)
mark
- public void setXShift(double x)
x
- public double getXShift()
public void setYShift(double y)
y
- public 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
- y
- public void setMax(double max)
max
- public double getMax()