SkiaCanvasDevice constructor

init

Initializes a new instance of the DeviceAdapter class.

def __init__(self, device):
    ...
ParameterTypeDescription
deviceIDeviceThe device to be adapted.

init

Constructs a new instance of SkiaCanvasDevice

def __init__(self, rendering_options, canvas_provider):
    ...
ParameterTypeDescription
rendering_optionsRenderingOptions
canvas_providerISkiaCanvasProvider

See Also