Struct EpsCmykColor
Represents a CMYK (Cyan, Magenta, Yellow, and Key/Black) color.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Neodynamic.WinControls.BarcodeProfessional
Assembly: Neodynamic.WinControls.BarcodeProfessional.dll
Syntax
public struct EpsCmykColor
Properties
Black
Gets or sets the black component value (ranging from 0 to 1) of this EpsCymkColor structure.
Declaration
public double Black { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Cyan
Gets or sets the cyan component value (ranging from 0 to 1) of this EpsCymkColor structure.
Declaration
public double Cyan { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Magenta
Gets or sets the magenta component value (ranging from 0 to 1) of this EpsCymkColor structure.
Declaration
public double Magenta { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Yellow
Gets or sets the yellow component value (ranging from 0 to 1) of this EpsCymkColor structure.
Declaration
public double Yellow { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
FromRGB(Byte, Byte, Byte)
Creates an EpsCmykColor from RGB.
Declaration
public static EpsCmykColor FromRGB(byte red, byte green, byte blue)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | red | The Red channel value |
System.Byte | green | The Green channel value |
System.Byte | blue | The Blue channel value |
Returns
Type | Description |
---|---|
EpsCmykColor | An EpsCmykColor based on the specified RGB value. |