|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICanvas
draw axis and plot point to the canvas
SwingもしくはSWTに依存せず画面描画するためのインターフェイス。
| Method Summary | |
|---|---|
void |
drawBar(int x,
int y,
int width,
int height,
int c)
|
void |
drawPoint(int x,
int y,
int size,
int c)
|
double |
getScaleHeight()
scaling factor = reference height (0.01 mm) / physical height (pixel) |
double |
getScaleWidth()
scaling factor = reference width (0.01 mm) / physical width (pixel) |
void |
plotAxises(Axis xAxis,
Axis yAxis)
plot axses and grids |
void |
reset()
get graphics and clear. |
| Method Detail |
|---|
void reset()
void plotAxises(Axis xAxis,
Axis yAxis)
xAxis - x axisyAxis - y axis
void drawPoint(int x,
int y,
int size,
int c)
x - y - size - c -
void drawBar(int x,
int y,
int width,
int height,
int c)
double getScaleWidth()
double getScaleHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||