Method ZoomMove
ZoomMove(int, int, int, int, int, int)
Moves (pans) view in the view window so that the given origin point is moved to the position defined by the destination point.
Declaration
public void ZoomMove(int windowWidth, int windowHeight, int originPixelX, int originPixelY, int destinationPixelX, int destinationPixelY)
Parameters
Type | Name | Description |
---|---|---|
int | windowWidth | Width of the window for which the pixel coordinates are given. |
int | windowHeight | Height of the window for which the pixel coordinates are given. |
int | originPixelX | X pixel coordinate of the point of the origin. |
int | originPixelY | Y pixel coordinate of the point of the origin. |
int | destinationPixelX | X pixel coordinate of the point of the destination. |
int | destinationPixelY | Y pixel coordinate of the point of the destination. |