Tests whether specified colors are equal.
'Declaration
Public Shared Function IsColorEquals( _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color _
) As System.Boolean
public static System.bool IsColorEquals(
System.Drawing.Color ,
System.Drawing.Color
)
Parameters
- color1
- First color.
- color2
- Second color
Return Value
true if the specified colors are equal, false otherwise.