Search Results for

    Show / Hide Table of Contents

    Class PointPair.PointPairComparerY

    Compares points based on their y values. Is setup to be used in an ascending order sort. Sort()

    Inheritance
    Object
    PointPair.PointPairComparerY
    Implements
    IComparer<PointPair>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    public class PointPairComparerY : IComparer<PointPair>

    Methods

    | Improve this Doc View Source

    Compare(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

    Implements

    System.Collections.Generic.IComparer<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX