UnifiedColor
Represents a unified view of all the available color schemas (RGB, HLS, HSV, HEX and CMYK).
Definition
Namespace:Telerik.Windows.Controls.ColorEditor
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
public sealed class UnifiedColor
Inheritance: objectUnifiedColor
Properties
Gets the CmykaColor.
public CmykaColor Cmyka { get; }
The color.
Methods
Compares to another unified color.
public bool Equals(UnifiedColor otherUnifiedColor)
The other unified color.
Returns:Creates a new UnifiedColor instance from a CmykaColor instance.
public static UnifiedColor FromCmyka(CmykaColor cmyka)
An instance of the CmykaColor class.
Returns:A new instance of the UnifiedColor class.
Creates a new UnifiedColor instance from a HexColor instance.
public static UnifiedColor FromHex(HexColor hex)
An instance of the HexColor class.
Returns:A new instance of the UnifiedColor class.
Creates a new UnifiedColor instance from a HlsaColor instance.
public static UnifiedColor FromHlsa(HlsaColor hlsa)
An instance of the HlsaColor class.
Returns:A new instance of the UnifiedColor class.
Creates a new UnifiedColor instance from a HsvaColor instance.
public static UnifiedColor FromHsva(HsvaColor hsva)
An instance of the HsvaColor class.
Returns:A new instance of the UnifiedColor class.
Creates a new UnifiedColor instance from a RgbaColor instance.
public static UnifiedColor FromRgba(RgbaColor rgba)
An instance of the RgbaColor class.
Returns:A new instance of the UnifiedColor class.