@Override public String toString() { return super.toString() + "\n\tviewport = " + getCanvas().getViewportWidth() + " x " + getCanvas().getViewportHeight(); }
final int canvasWidth = canvas.getViewportWidth(); final int canvasHeight = canvas.getViewportHeight(); final double canvasZoom = canvas.getZoomFactor();