Extensions.ToFormsColor Method

Definition

Overloads

ToFormsColor(SKColor)

Converts a SkiaSharp color into a Xamarin.Forms color.

ToFormsColor(SKColorF)

ToFormsColor(SKColor)

Converts a SkiaSharp color into a Xamarin.Forms color.

public static Xamarin.Forms.Color ToFormsColor (this SkiaSharp.SKColor color);

Parameters

color
SKColor

The SkiaSharp color.

Returns

Color

Returns a Xamarin.Forms color.

Applies to

ToFormsColor(SKColorF)

public static Xamarin.Forms.Color ToFormsColor (this SkiaSharp.SKColorF color);

Parameters

color
SKColorF

Returns

Color

Applies to