Click or drag to resize

ColorEquality Operator

Compares two Color structs for equality

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static bool operator ==(
	Color color1,
	Color color2
)

Parameters

color1
Type: Eto.DrawingColor
The first Color struct to compare
color2
Type: Eto.DrawingColor
The second Color struct to compare

Return Value

Type: Boolean
True if both the Color structs have the same values for all ARGB components
See Also