StructCmykaColor
A struct representing a color comprised of Cyan, Magenta, Yellow, Key (Black) and Alpha channels.
Definition
Namespace:Telerik.Windows.Controls.ColorEditor.ColorSchemas
Assembly:Telerik.Windows.Controls.dll
Syntax:
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Cmyka")]
public struct CmykaColor
Inherited Members
Constructors
CmykaColor(double, double, double, double, double)
Initializes a new instance of the CmykaColor struct.
Properties
Alpha
Gets the alpha (opacity) channel of the CmykaColor instance.
Cyan
Gets the cyan channel of the CmykaColor instance.
Key
Gets the key (black) channel of the CmykaColor instance.
Magenta
Gets the magenta channel of the CmykaColor instance.
Declaration
public double Magenta { get; }
Property Value
The magenta channel.
Yellow
Gets the yellow channel of the CmykaColor instance.
Declaration
public double Yellow { get; }
Property Value
The yellow channel.
Methods
Equals(CmykaColor)
Compares the two instances.
Declaration
public bool Equals(CmykaColor otherInstance)
Parameters
otherInstance
The other instance.
Returns
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(CmykaColor, CmykaColor)
Implements the operator !=.
Declaration
public static bool operator !=(CmykaColor instance1, CmykaColor instance2)
Parameters
instance1
The instance1.
instance2
The instance2.
Returns
The result of the operator.
operator ==(CmykaColor, CmykaColor)
Implements the operator ==.
Declaration
public static bool operator ==(CmykaColor instance1, CmykaColor instance2)
Parameters
instance1
The instance1.
instance2
The instance2.
Returns
The result of the operator.