|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--flatscape.FCanvas.Info
Canvas information class to transfer the parameters of the canvas to other modules e.g. OpenMap map module.
FCanvas.getCanvasInfo()| Field Summary | |
double |
centerX_
X position of the center of canvas in user coordinates. |
double |
centerY_
Y position of the center of canvas in user coordinates. |
int |
height_
Height in pixels of the canvas. |
double |
scale_
Scaling factor. |
double |
theta_
Rotation of the canvas around its center. |
int |
width_
Width in pixels of the canvas. |
| Constructor Summary | |
FCanvas.Info(double centerX,
double centerY,
double theta,
double scale,
int width,
int height)
|
|
| Method Summary | |
boolean |
equals(FCanvas.Info info)
tests to see if two infos are the same, used by MapInfo to determine if any recalculations are needed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public double centerX_
public double centerY_
public double theta_
public double scale_
public int width_
public int height_
| Constructor Detail |
public FCanvas.Info(double centerX,
double centerY,
double theta,
double scale,
int width,
int height)
| Method Detail |
public boolean equals(FCanvas.Info info)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||