void setCanvasDimensions(double width, double height) { _canvasWidth = width; _canvasHeight = height; }