Class PointPair.PointPairComparerY
Compares points based on their y values. Is setup to be used in an ascending order sort. Sort()
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class PointPairComparerY : IComparer<PointPair>
Methods
| Improve this Doc View SourceCompare(PointPair, PointPair)
Compares two PointPairs.
Declaration
public int Compare(PointPair l, PointPair r)
Parameters
| Type | Name | Description |
|---|---|---|
| PointPair | l | Point to the left. |
| PointPair | r | Point to the right. |
Returns
| Type | Description |
|---|---|
| Int32 | -1, 0, or 1 depending on l.Y's relation to r.Y |