예제 #1
0
 public void SelectPoint(int index)
 {
     if (!SelectedPointsIndices.Contains(index))
     {
         SelectedPointsIndices.Add(index);
     }
 }
예제 #2
0
 public void ClearSelection()
 {
     SelectedPointsIndices.Clear();
 }
예제 #3
0
 public void UnselectPoint(int index)
 {
     SelectedPointsIndices.Remove(index);
 }
예제 #4
0
 public bool IsSelected(int index)
 {
     return(SelectedPointsIndices.Contains(index));
 }