create

common
fun create(surface: Surface): Canvas

Creates the Canvas with an associated surface.

Parameters

surface

The surface that the canvas is associated with.

linuxArm32
fun create(surface: Surface): Canvas

Parameters

surface

The surface that the canvas is associated with.

linuxX64
fun create(surface: Surface): Canvas

Parameters

surface

The surface that the canvas is associated with.