Esempio n. 1
0
 private static int getArea(TrackedColor trackedColor)
 {
     return(trackedColor.Bounds.Width * trackedColor.Bounds.Height);
 }
Esempio n. 2
0
 private static int areaCompare(TrackedColor x, TrackedColor y)
 {
     //compare areas
     return((getArea(y)).CompareTo(getArea(y)));
 }