Table of Contents

Method ToSkia

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

ToSkia(GenericImage, bool)

Converts GenericImage to SKBitmap. Optionally copies pixel data.

public static SKBitmap ToSkia(GenericImage bitmap, bool assignPixels = true)

Parameters

bitmap GenericImage

Image.

assignPixels bool

Whether to copy pixel data. Optional. Default is true.

Returns

SKBitmap

ToSkia(IGenericImageHandler, bool)

Converts image specified with IGenericImageHandler to SKBitmap. Optionally copies pixel data.

public static SKBitmap ToSkia(IGenericImageHandler bitmap, bool assignPixels = true)

Parameters

bitmap IGenericImageHandler

Image.

assignPixels bool

Whether to copy pixel data. Optional. Default is true.

Returns

SKBitmap