Click or drag to resize

CmykColor Structure

CmykColor defines a color that consists of cyan, magenta, yellow, and black components.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public struct CmykColor

The CmykColor type exposes the following members.

Constructors
  NameDescription
Public methodCmykColor(Color)
Construct a new CmykColor from the RGB color.
Public methodCmykColor(Int32)
Construct a new CmykColor from the 32-bit integer provided.
Public methodCmykColor(Int32, Int32, Int32, Int32)
Construct a new CmykColor from the four components provided
Top
Properties
  NameDescription
Public propertyC
Set or get the cyan component of this color.
Public propertyK
Set or get the black component of this color.
Public propertyM
Set or get the magenta component of this color.
Public propertyRgb
Gets the value of the color an RGB Color object.
Public propertyY
Set or get the yellow component of this color.
Top
Methods
  NameDescription
Public methodEquals
Test for equality with another object.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Get the hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic memberInequality
Implements the not-equals operator
Top
Remarks
This class represents a color with 8-bit components.
See Also