SkiaCanvasDevice constructor

init

Initializes a new instance of the SkiaCanvasDevice class using specific rendering options and a Skia canvas provider. This constructor creates a device that is ready for SkiaSharp rendering, using the provided canvas provider for managing the drawing surface.

def __init__(self, rendering_options, canvas_provider):
    ...
ParameterTypeDescription
rendering_optionsSkiaCanvasRenderingOptionsThe rendering options to be used by the Skia rendering device.
canvas_providerISkiaCanvasProviderThe canvas provider responsible for creating and managing SKCanvas instances.

See Also