CanvasManager

Abstraction that provides an init operation to create a new canvas.

This is helpful to deal with the fact that creating a new canvas is a side-effectful operation.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def init(settings: Settings): LowLevelCanvas

Creates the canvas window and returns a low-level canvas object.

Creates the canvas window and returns a low-level canvas object.

Returns:

low-level canvas object linked to the created window