示例#1
0
 /// <summary>
 /// Mark areas by drag with multiple border widths and colors.
 /// </summary>
 /// <param name="eventHandler">Event handler.</param>
 /// <param name="keys">Keys.</param>
 /// <param name="n">Number of targets.</param>
 /// <param name="borderWidths">Border widths.</param>
 /// <param name="borderColors">Border colors.</param>
 public static void MarkByDrag(TargetMarkEventHandler eventHandler, Keys[] keys = null, int n = 1, int[] borderWidths = null, Color[] borderColors = null)
 {
     TargetMarkerByDrag.Mark(keys, n, eventHandler, borderWidths, borderColors);
 }
示例#2
0
 /// <summary>
 /// Update targets.
 /// This method must be called in the GUI thread.
 /// </summary>
 public static void UpdateTargets()
 {
     TargetMarkerByArea.UpdateTargets();
     TargetMarkerByDrag.UpdateTargets();
 }