setCanvasDimensions

abstract fun setCanvasDimensions(canvasWidth: Double, canvasHeight: Double)

Sets the canvas dimensions.

Parameters

canvasWidth

The width of the canvas.

canvasHeight

The height of the canvas.