Class SKColorExtensions
Provides extension methods for the SKColor type.
Namespace: Artemis.UI.Shared.Extensions
Assembly: Artemis.UI.Shared.dll
Syntax
public static class SKColorExtensions
Methods
ToColor(SKColor)
Converts a SkiaSharp SKColor to an Avalonia Avalonia.Media.Color.
Declaration
public static Color ToColor(this SKColor color)
Parameters
Type | Name | Description |
---|---|---|
SKColor | color | The color to convert. |
Returns
Type | Description |
---|---|
Color | The resulting color. |