PaintGradientStop.CompareTo(PaintGradientStop) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the current gradient stop with another gradient stop based on their offset values.
public:
virtual int CompareTo(Microsoft::Maui::Graphics::PaintGradientStop ^ obj);
public int CompareTo(Microsoft.Maui.Graphics.PaintGradientStop obj);
abstract member CompareTo : Microsoft.Maui.Graphics.PaintGradientStop -> int
override this.CompareTo : Microsoft.Maui.Graphics.PaintGradientStop -> int
Public Function CompareTo (obj As PaintGradientStop) As Integer
Parameters
The gradient stop to compare with this instance.
Returns
A value less than zero if this instance's offset is less than the other instance's offset; zero if they are equal; a value greater than zero if this instance's offset is greater.