Click or drag to resize

PdfColor Methods

The PdfColor type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfColor instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(PdfColor) Determines whether the other PdfColor is equal to this PdfColor instance.
Public methodStatic memberFromCmyk Creates a new PdfColor structure in DeviceCMYK color space by using the specified cyan, magenta, yellow and black values.
Public methodStatic memberFromGray Creates a new PdfColor structure in DeviceGray color space by using the specified gray value.
Public methodStatic memberFromPattern(PdfPattern) Creates a new PdfColor structure in Pattern color space by using the specified PdfPattern.
Public methodStatic memberFromPattern(PdfColorSpace, PdfPattern, Double) Creates a new PdfColor structure in Pattern color space by using the specified uncolored tiling PdfPattern and colorant values.
Public methodStatic memberFromRgb Creates a new PdfColor structure in DeviceRGB color space by using the specified red, green and blue values.
Public methodGetHashCode Returns a hash code for this PdfColor instance.
(Overrides ValueTypeGetHashCode)
Public methodToString Returns a String that represents this PdfColor instance.
(Overrides ValueTypeToString)
Public methodTryGetRgb Gets the red, green and blue values of this PdfColor.
Top
See Also