Pdf |
The PdfColor type exposes the following members.
| Name | Description | |
|---|---|---|
| PdfColor(PdfColorSpace, Double) | Initializes a new instance of the PdfColor structure using the specified color space and a single colorant value. | |
| PdfColor(PdfColorSpace, Double) | Initializes a new instance of the PdfColor structure using the specified color space and colorant values. | |
| PdfColor(PdfColorSpace, Double, Double, Double) | Initializes a new instance of the PdfColor structure using the specified color space and three colorant values. | |
| PdfColor(PdfColorSpace, Double, Double, Double, Double) | Initializes a new instance of the PdfColor structure using the specified color space and four colorant values. |
| Name | Description | |
|---|---|---|
| Item | Gets the intensity of the colorant at the specified index. | |
| Pattern | Gets the pattern or . | |
| Space | Gets the color space in which the current color is defined. |
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified Object is equal to this PdfColor instance.
(Overrides ValueTypeEquals(Object)) | |
| Equals(PdfColor) | Determines whether the other PdfColor is equal to this PdfColor instance. | |
| FromCmyk | Creates a new PdfColor structure in DeviceCMYK color space by using the specified cyan, magenta, yellow and black values. | |
| FromGray | Creates a new PdfColor structure in DeviceGray color space by using the specified gray value. | |
| FromPattern(PdfPattern) | Creates a new PdfColor structure in Pattern color space by using the specified PdfPattern. | |
| FromPattern(PdfColorSpace, PdfPattern, Double) | Creates a new PdfColor structure in Pattern color space by using the specified uncolored tiling PdfPattern and colorant values. | |
| FromRgb | Creates a new PdfColor structure in DeviceRGB color space by using the specified red, green and blue values. | |
| GetHashCode |
Returns a hash code for this PdfColor instance.
(Overrides ValueTypeGetHashCode) | |
| ToString |
Returns a String that represents this PdfColor instance.
(Overrides ValueTypeToString) | |
| TryGetRgb | Gets the red, green and blue values of this PdfColor. |
| Name | Description | |
|---|---|---|
| Equality(PdfColor, PdfColor) | Determines whether first and second PdfColors are equal. | |
| Inequality(PdfColor, PdfColor) | Determines whether first and second PdfColors are not equal. |