Exemplo n.º 1
0
 /// <summary>
 /// Indicates whether the geometry's stroke contains the specified point.
 /// </summary>
 /// <param name="pen">The pen to use.</param>
 /// <param name="point">The point.</param>
 /// <returns><c>true</c> if the geometry contains the point; otherwise, <c>false</c>.</returns>
 public bool StrokeContains(Pen pen, Point point)
 {
     return(PlatformImpl.StrokeContains(pen, point));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Indicates whether the geometry's stroke contains the specified point.
 /// </summary>
 /// <param name="pen">The pen to use.</param>
 /// <param name="point">The point.</param>
 /// <returns><c>true</c> if the geometry contains the point; otherwise, <c>false</c>.</returns>
 public bool StrokeContains(IPen pen, Point point)
 {
     return(PlatformImpl?.StrokeContains(pen, point) == true);
 }