Skip to content

PdfCalGrayColor Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a gray color based on a calibrated gray colorspace.

C#
public class PdfCalGrayColor : PdfColor

Inheritance: Object → PdfColor → PdfCalGrayColor

Constructor

Name Description
PdfCalGrayColor(PdfCalGrayColorSpace) Initializes a new PdfCalGrayColor object with a calibrated gray colorspace.

Properties

Name Description
ColorSpace Gets the colorspace.
(inherited from PdfColor)
Gray Gets or sets the gray 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)