ColorExtensions Class
Provides extension methods for the Avalonia.Media.Color type.
public static class ColorExtensions
- Inheritance:
- object object
Methods
ToUIColor(Color)
Creates a new UIColor initialized from the RGB color.
public static UIColor ToUIColor(this Color color)
| Parameter | Type | Description |
|---|---|---|
| color | Color | The RGB color. |