Method CreateBitmapCanvas
CreateBitmapCanvas(SizeD, double, bool)
Creates canvas on the bitmap with the specified size and scaling factor.
public static SkiaGraphics CreateBitmapCanvas(SizeD size, double scaleFactor, bool isTransparent = true)
Parameters
sizeSizeDSize of the bitmap.
scaleFactordoubleScaling factor.
isTransparentboolWhether canvas is transparent.
Returns
CreateBitmapCanvas(SKBitmap, double)
Creates canvas on the specified bitmap.
public static SkiaGraphics CreateBitmapCanvas(SKBitmap bitmap, double scaleFactor)