Operator ==.

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 static bool operator ==(
	PdfRGBColor colour1,
	PdfRGBColor colour2
)
Public Shared Operator = ( 
	colour1 As PdfRGBColor,
	colour2 As PdfRGBColor
) As Boolean
public:
static bool operator ==(
	PdfRGBColor colour1, 
	PdfRGBColor colour2
)
static let inline (=)
        colour1 : PdfRGBColor * 
        colour2 : PdfRGBColor  : bool

Parameters

colour1
PdfRGBColor
The color 1.
colour2
PdfRGBColor
The color 2.

Return Value

Boolean
True if color 1 is equal to color 2; otherwise False.

See Also