/** * Gets canvas transformed location. * @param clientX The clientX coordinate value. * @param clientY The clientY coordinate value. * @return the transformed location into the canvas. */ public Point2D getTransformedLocation(final double clientX, final double clientY) { final double x = getRelativeX(clientX); final double y = getRelativeY(clientY); return canvasHandler.getAbstractCanvas().getTransform().inverse(x, y); }