public CompareTo ( object obj ) : int | ||
obj | object | An instance of a ColorEx object to compare to this instance. |
return | int |
public int CompareTo( object obj )
{
ColorEx other = (ColorEx)obj;
if ( this.a == other.a &&
this.r == other.r &&
this.g == other.g &&
this.b == other.b )
{
return 0;
}
return 1;
}