Table of Contents

Class ColorToSKColorConverter

Namespace
Artemis.UI.Shared.Converters
Assembly
Artemis.UI.Shared.dll

Converts Avalonia.Media.Color into SKColor.

public class ColorToSKColorConverter : IValueConverter
Inheritance
object
ColorToSKColorConverter
Implements
IValueConverter

Methods

Convert(object?, Type, object?, CultureInfo)

public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture)

Parameters

value object
targetType Type
parameter object
culture CultureInfo

Returns

object

ConvertBack(object?, Type, object?, CultureInfo)

public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)

Parameters

value object
targetType Type
parameter object
culture CultureInfo

Returns

object