Class UnifiedColor
Represents a unified view of all the available color schemas (RGB, HLS, HSV, HEX and CMYK).
Inheritance
Namespace: Telerik.Windows.Controls.ColorEditor
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public sealed class UnifiedColor : Object
Properties
Cmyka
Gets the Cmyka
Declaration
public CmykaColor Cmyka { get; }
Property Value
Cmyka The color. |
Hex
Hlsa
Hsva
Rgba
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. True if the specified System. |
Equals(UnifiedColor)
Compares to another unified color.
Declaration
public bool Equals(UnifiedColor otherUnifiedColor)
Parameters
Unified The other unified color. |
Returns
System.
|
FromCmyka(CmykaColor)
Creates a new Unified
Declaration
public static UnifiedColor FromCmyka(CmykaColor cmyka)
Parameters
Cmyka An instance of the Cmyka |
Returns
Unified A new instance of the Unified |
FromHex(HexColor)
Creates a new Unified
Declaration
public static UnifiedColor FromHex(HexColor hex)
Parameters
Returns
Unified A new instance of the Unified |
FromHlsa(HlsaColor)
Creates a new Unified
Declaration
public static UnifiedColor FromHlsa(HlsaColor hlsa)
Parameters
Returns
Unified A new instance of the Unified |
FromHsva(HsvaColor)
Creates a new Unified
Declaration
public static UnifiedColor FromHsva(HsvaColor hsva)
Parameters
Returns
Unified A new instance of the Unified |
FromRgba(RgbaColor)
Creates a new Unified
Declaration
public static UnifiedColor FromRgba(RgbaColor rgba)
Parameters
Returns
Unified A new instance of the Unified |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |