Esempio n. 1
0
 /// <summary>
 /// Mark an area.
 /// </summary>
 /// <param name="area">Area.</param>
 /// <param name="borderWidth">Border width.</param>
 /// <param name="borderColor">Border color.</param>
 /// <returns>Target.</returns>
 public static TargetForm Mark(Rectangle area, int?borderWidth = null, Color?borderColor = null)
 {
     return(TargetMarkerByArea.Mark(area, borderWidth: borderWidth, borderColor: borderColor));
 }
Esempio n. 2
0
 /// <summary>
 /// Update targets.
 /// This method must be called in the GUI thread.
 /// </summary>
 public static void UpdateTargets()
 {
     TargetMarkerByArea.UpdateTargets();
     TargetMarkerByDrag.UpdateTargets();
 }