Table of Contents

Method GetSkiaWidthClosestToNumericValue

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

GetSkiaWidthClosestToNumericValue(int)

Helper function for converting arbitrary numeric width to the closest value of SKFontStyleWidth enum.

public static SKFontStyleWidth? GetSkiaWidthClosestToNumericValue(int width)

Parameters

width int

Numeric width.

Returns

SKFontStyleWidth?