Click or drag to resize

ColorRGBACompareTo Method

Compares this ColorRGBA with another ColorRGBA.

Channels evaluation priority is first A, then R, then G, then B.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int CompareTo(
	ColorRGBA other
)

Parameters

other
Type: Rhino.DisplayColorRGBA
The other ColorRGBA to use in comparison.

Return Value

Type: Int32

0: if this is identical to other

-1: if this < other

+1: if this > other

Implements

IComparableTCompareTo(T)
See Also