Extensions.ToSKColor(Color) Method

Definition

Converts a System.Drawing color into a SkiaSharp color.

C#
public static SkiaSharp.SKColor ToSKColor (this System.Drawing.Color color);

Parameters

color
Color

The System.Drawing color.

Returns

Returns a SkiaSharp color.

Applies to

Produkt Versioner
SkiaSharp Views 1.60.x, 1.68.x, 2.80.x, 2.88.x