Implements structures and routines working with color.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public struct PdfRGBColor
Public Structure PdfRGBColor
public value class PdfRGBColor
[<SealedAttribute>] type PdfRGBColor = struct end
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfRGBColor(Color) |
Initializes a new instance of the class.
| |
| PdfRGBColor(Single) |
Initializes a new instance of the class.
| |
| PdfRGBColor(PdfRGBColor) |
Initializes a new instance of the class.
| |
| PdfRGBColor(Byte, Byte, Byte) |
Initializes a new instance of the class.
| |
| PdfRGBColor(Single, Single, Single, Single) |
Initializes a new instance of the class.
| |
| B |
Gets or sets Blue channel value.
| |
| Blue |
Gets the blue.
| |
| C |
Gets or sets Cyan channel value.
| |
| Empty |
Gets a null color.
| |
| Equality(PdfRGBColor, PdfRGBColor) |
Operator ==.
| |
| Equals(Object) |
Determines whether the specified
is equal to the current .
(Overrides ValueType..::..Equals(Object).) | |
| Equals(PdfRGBColor) |
Determines if the specified color is equal to this one.
| |
| G |
Gets or sets Green channel value.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type, suitable for
use in hashing algorithms and data structures like a hash
table.
(Overrides ValueType..::..GetHashCode()()()().) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Gray |
Gets or sets Gray channel value.
| |
| Green |
Gets the green.
| |
| ImplicitWideningImplicitImplicitImplicit(Color to PdfRGBColor) |
Implicit operator.
| |
| ImplicitWideningImplicitImplicitImplicit(PdfRGBColor to Color) |
Implicit operator.
| |
| Inequality(PdfRGBColor, PdfRGBColor) |
Operator !=.
| |
| IsEmpty |
Gets whether the PDFColor is Empty or not.
| |
| K |
Gets or sets Black channel value.
| |
| M |
Gets or sets Magenta channel value.
| |
| R |
Gets or sets Red channel value.
| |
| Red |
Gets the red.
| |
| ToArgb()()()() |
Creates the Alpha ,Red ,Green, and Blue value of this PDFColor structure.
| |
| ToString()()()() |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) | |
| Y |
Gets or sets Yellow channel value.
|