Class Imaging.MatchSimilarityComparer
- Namespace
- Ranorex
- Assembly
- Ranorex.Core.dll
Compares to matches by their similarity.
public class Imaging.MatchSimilarityComparer : IComparer<Imaging.Match>
- Inheritance
-
Imaging.MatchSimilarityComparer
- Implements
- Inherited Members
Constructors
MatchSimilarityComparer()
Creates a new instance.
public MatchSimilarityComparer()
MatchSimilarityComparer(bool)
Creates a new instance.
public MatchSimilarityComparer(bool descending)
Parameters
descendingboolTrueto compare matches in descending order.
Methods
Compare(Match, Match)
Compares two matches and returns a value indicating whether one is less than, equal to, or greater than the other.
public int Compare(Imaging.Match x, Imaging.Match y)
Parameters
Returns
- int
A value indicating whether one is less than, equal to, or greater than the other.
Sort(List<Match>, bool)
Sorts the specified list of matches by their similarity.
public static void Sort(List<Imaging.Match> matches, bool descending)