Skip to content

PdfCmykColor Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a device dependent CMYK color.

C#
public class PdfCmykColor : PdfColor

Inheritance: Object → PdfColor → PdfCmykColor

Constructors

Name Description
PdfCmykColor() Initializes a new PdfCmykColor object.
PdfCmykColor(Double,Double,Double,Double) Initializes a new PdfCmykColor object.

Properties

Name Description
C Gets or sets the cyan component.
ColorSpace Gets the colorspace.
(inherited from PdfColor)
K Gets or sets the black component.
M Gets or sets the magenta component.
Y Gets or sets the yellow component.

Methods

Name Description
Copy Copies this color.
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode Serves as a hash function for a particular type.
ToRgbColor Converts this color to RGB.
(inherited from PdfColor)