예제 #1
0
 /// <summary>
 /// Gets the color at the relative position inside a BasicElement.
 /// </summary>
 /// <param name="element">The BasicElement which color should be read.</param>
 /// <param name="relativePosition">The relative position inside the BasicElement.</param>
 /// <returns>The System.Drawing.Color at the relative position inside the BasicElement.</returns>
 public static Color GetColor(BasicElement element, At relativePosition)
 {
     return(GetColor(relativePosition.GetPoint(element)));
 }