3 using SiliconStudio.Core.Mathematics;
5 namespace SiliconStudio.Presentation.Extensions
14 return ToSystemColor(color.
ToColor());
19 var byteColor =
new Color(color);
20 return SystemColor.FromArgb(byteColor.A, byteColor.R, byteColor.G, byteColor.B);
System.Windows.Media.Colors SystemColors
static SystemColor ToSystemColor(this Color4 color)
System.Windows.Media.Color SystemColor
Represents a color in the form of rgba.
SiliconStudio.Core.Mathematics.Color Color
static SystemColor ToSystemColor(this ColorHSV color)
Color4 ToColor()
Converts the color into a three component vector.
Represents a color in the form of Hue, Saturation, Value, Alpha.