Table of Contents

Method CreateSkiaBitmapForImage

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

CreateSkiaBitmapForImage(int, int, bool)

Creates SKBitmap with the specifies size.

public static SKBitmap CreateSkiaBitmapForImage(int width, int height, bool hasAlpha)

Parameters

width int

Image width.

height int

Image height.

hasAlpha bool

Whether image has alpha component.

Returns

SKBitmap