PdfGrayColor Class
Definition
Namespace: Xfinium.Pdf.Graphics
Defines a device gray color.
Inheritance: Object → PdfColor → PdfGrayColor
Constructors
| Name | Description |
|---|---|
| PdfGrayColor() | Initializes a new PdfGrayColor object. |
| PdfGrayColor(Double) | Initializes a new PdfGrayColor object with the gray component. |
Properties
| Name | Description |
|---|---|
| ColorSpace | Gets the colorspace. (inherited from PdfColor) |
| G | 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) |