PDFCmykColor¶
Namespace: O2S.Components.PDF4NET.Graphics
Defines a device dependent CMYK color.
Inheritance Object → PDFColor → PDFCmykColor
Constructors¶
PDFCmykColor()¶
Initializes a new PDFCmykColor object.
PDFCmykColor(Double, Double, Double, Double)¶
Initializes a new PDFCmykColor object.
Parameters
c Double
Cyan component.
m Double
Magenta component.
y Double
Yellow component.
k Double
Black component.
Properties¶
C¶
Gets or sets the cyan component.
Property Value
Double
The cyan component in the range [0 1].
ColorSpace¶
Gets the colorspace.
Property Value
PDFColorSpace
A PDFColorSpace that represents the colorspace of the color.
K¶
Gets or sets the black component.
Property Value
Double
The black component in the range [0 1].
M¶
Gets or sets the magenta component.
Property Value
Double
The magenta component in the range [0 1].
Y¶
Gets or sets the yellow component.
Property Value
Double
The yellow component in the range [0 1].
Methods¶
Copy()¶
Copies this color.
Returns
PDFColor
A copy of this color.
Equals(Object)¶
Determines whether the specified Object is equal to the current Object.
Parameters
obj Object
The Object to compare with the current Object.
Returns
Boolean
true if the specified Object is equal to the current Object; otherwise, false.
GetHashCode()¶
Serves as a hash function for a particular type.
Returns
Int32
A hash code for the current Object.