Table of Contents

Method CreateSkiaGraphicsOnCanvas

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

CreateSkiaGraphicsOnCanvas(SKCanvas, float)

Creates SkiaGraphics on the specified canvas with the specified scaling factor. The canvas is additionally scaled by the factor.

public static SkiaGraphics CreateSkiaGraphicsOnCanvas(SKCanvas canvas, float scaleFactor)

Parameters

canvas SKCanvas

The SKCanvas on which to create the graphics.

scaleFactor float

The scaling factor.

Returns

SkiaGraphics