iOSExtensions.ToUIColor Method

Definition

Overloads

ToUIColor(SKColor)

Converts a SkiaSharp color into a UIKit color.

ToUIColor(SKColorF)

ToUIColor(SKColor)

Converts a SkiaSharp color into a UIKit color.

C#
public static UIKit.UIColor ToUIColor (this SkiaSharp.SKColor color);

Parameters

color
SKColor

The SkiaSharp color

Returns

Returns a UIKit color.

Applies to

SkiaSharp Views 2.88.x and other versions
Product Versions
SkiaSharp Views 1.60.x, 1.68.x, 2.80.x, 2.88.x

ToUIColor(SKColorF)

C#
public static UIKit.UIColor ToUIColor (this SkiaSharp.SKColorF color);

Parameters

color
SKColorF

Returns

Applies to

SkiaSharp Views 2.88.x and SkiaSharp Views 2.80.x
Product Versions
SkiaSharp Views 2.80.x, 2.88.x