Implements structures and routines working with color.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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.

See Also