Class CMYKColor
Class CMYKColor
Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.7.0)
Class for CMYK color. Null means CMYK is not used, default RGB color is in use.
[XmlSerialization(Name = "Aspose.BarCode.Reader.Properties.CMYKColor")]
public class CMYKColor
Inheritance
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
CMYKColor(int, int, int, int)
Initializes a new instance of the Aspose.BarCode.Generation.CMYKColor class from CMYK values. CMYK values are 0-100.
public CMYKColor(int c, int m, int y, int k)
Parameters
c
int
Cyan value [0, 100]
m
int
Magenta value [0, 100]
y
int
Yellow value [0, 100]
k
int
Black value [0, 100]
Methods
Equals(object)
Compares if values of colors are the same
public override bool Equals(object obj)
Parameters
obj
object
CMYKColor to compare
Returns
Are values the same
GetHashCode()
Hash code of CMYKColor
public override int GetHashCode()
Returns
Hash code of CMYKColor