Class CmykaColor
A struct representing a color comprised of Cyan, Magenta, Yellow, Key (Black) and Alpha channels.
Inheritance
Namespace: Telerik.Windows.Controls.ColorEditor.ColorSchemas
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class CmykaColor : ValueType
Constructors
CmykaColor(Double, Double, Double, Double, Double)
Initializes a new instance of the Cmyka
Declaration
public CmykaColor(double cyan, double magenta, double yellow, double key, double alpha)
Parameters
System. The cyan channel. |
System. The magenta channel. |
System. The yellow channel. |
System. The key (black) channel. |
System. The alpha channel. |
Properties
Alpha
Gets the alpha (opacity) channel of the Cmyka
Declaration
public double Alpha { get; }
Property Value
System. The alpha channel. |
Cyan
Gets the cyan channel of the Cmyka
Declaration
public double Cyan { get; }
Property Value
System. The cyan channel. |
Key
Gets the key (black) channel of the Cmyka
Declaration
public double Key { get; }
Property Value
System. The key channel. |
Magenta
Gets the magenta channel of the Cmyka
Declaration
public double Magenta { get; }
Property Value
System. The magenta channel. |
Yellow
Gets the yellow channel of the Cmyka
Declaration
public double Yellow { get; }
Property Value
System. The yellow channel. |
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(CmykaColor)
Compares the two instances.
Declaration
public bool Equals(CmykaColor otherInstance)
Parameters
Cmyka The other instance. |
Returns
System.
|
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Operators
Equality(CmykaColor, CmykaColor)
Implements the operator ==.
Declaration
public static bool operator ==(CmykaColor instance1, CmykaColor instance2)
Parameters
Cmyka The instance1. |
Cmyka The instance2. |
Returns
System. The result of the operator. |
Inequality(CmykaColor, CmykaColor)
Implements the operator !=.
Declaration
public static bool operator !=(CmykaColor instance1, CmykaColor instance2)
Parameters
Cmyka The instance1. |
Cmyka The instance2. |
Returns
System. The result of the operator. |