Udostępnij za pośrednictwem


Color.Equality(Color, Color) Operator

Definition

Determine if two Color structs have the same value.

public static bool operator == (Android.Graphics.Color left, Android.Graphics.Color right);
static member ( = ) : Android.Graphics.Color * Android.Graphics.Color -> bool

Parameters

left
Color

The first Color to compare.

right
Color

The second Color to compare.

Returns

True if the Colors are equal, otherwise False.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to