setCanvasDimensions

open override fun setCanvasDimensions(canvasWidth: Double, canvasHeight: Double)

Sets the dimensions of the canvas.

Parameters

canvasWidth

The width of the canvas.

canvasHeight

The height of the canvas.