equals

equals(obj)

Tests whether the specified object is a Color object and is equivalent to this object.

ParameterTypeDescription
objObjectThe object to test.

Returns: true if obj is a Color object and equivalent to this Color object; otherwise, false.