|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.server.tiles.support.ViewPort
This object contains the view point and the zoom of the client side canvas. The view point is the upper left coordinate of the visible region in world coordinates.
Constructor Summary | |
ViewPort(YPoint viewPoint,
double zoom)
creates a new ViewPort instance from the given view point and zoom level. |
Method Summary | |
YPoint |
getViewPoint()
|
double |
getZoom()
|
void |
setViewPoint(YPoint viewPoint)
sets the view point of this ViewPort. |
void |
setZoom(double zoom)
sets the zoom level of this ViewPort. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewPort(YPoint viewPoint, double zoom)
viewPoint
- the upper left visible pointzoom
- the zoom levelMethod Detail |
public YPoint getViewPoint()
public void setViewPoint(YPoint viewPoint)
viewPoint
- the upper left visible pointpublic double getZoom()
public void setZoom(double zoom)
zoom
- the zoom level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |