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):
...
| Parameter | Type | Description |
|---|---|---|
| rendering_options | SkiaCanvasRenderingOptions | The rendering options to be used by the Skia rendering device. |
| canvas_provider | ISkiaCanvasProvider | The canvas provider responsible for creating and managing SKCanvas instances. |
See Also
- module
aspose.svg.rendering.skia - class
SkiaCanvasDevice