Method ToSKEncodedImageFormat
- Namespace
- Alternet.UI.Extensions
- Assembly
- Alternet.UI.Common.dll
ToSKEncodedImageFormat(BitmapType)
Converts BitmapType to SKEncodedImageFormat.
public static SKEncodedImageFormat? ToSKEncodedImageFormat(this BitmapType type)
Parameters
type
BitmapTypeBitmap type
Returns
- SKEncodedImageFormat?
SKEncodedImageFormat if BitmapType can be converted,
null
otherwise.