ClassUnifiedColor
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
Methods
Equals(UnifiedColor)
Compares to another unified color.
Declaration
public bool Equals(UnifiedColor otherUnifiedColor)
Parameters
otherUnifiedColor
The other unified color.
Returns
FromCmyka(CmykaColor)
Creates a new UnifiedColor instance from a CmykaColor instance.
Declaration
public static UnifiedColor FromCmyka(CmykaColor cmyka)
Parameters
cmyka
An instance of the CmykaColor class.
Returns
A new instance of the UnifiedColor class.
FromHex(HexColor)
Creates a new UnifiedColor instance from a HexColor instance.
Declaration
public static UnifiedColor FromHex(HexColor hex)
Parameters
hex
An instance of the HexColor class.
Returns
A new instance of the UnifiedColor class.
FromHlsa(HlsaColor)
Creates a new UnifiedColor instance from a HlsaColor instance.
Declaration
public static UnifiedColor FromHlsa(HlsaColor hlsa)
Parameters
hlsa
An instance of the HlsaColor class.
Returns
A new instance of the UnifiedColor class.
FromHsva(HsvaColor)
Creates a new UnifiedColor instance from a HsvaColor instance.
Declaration
public static UnifiedColor FromHsva(HsvaColor hsva)
Parameters
hsva
An instance of the HsvaColor class.
Returns
A new instance of the UnifiedColor class.
FromRgba(RgbaColor)
Creates a new UnifiedColor instance from a RgbaColor instance.
Declaration
public static UnifiedColor FromRgba(RgbaColor rgba)
Parameters
rgba
An instance of the RgbaColor class.
Returns
A new instance of the UnifiedColor class.
GetHashCode()
Serves as a hash function for a particular type.