Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
/// <summary> /// 点是否在区域内 /// </summary> /// <param name="point">点</param> /// <param name="points">区域范围</param> /// <returns>是否在区域内</returns> public static bool InRegion(this PointF point, PointF[] points) { using (GraphicsPath path = points.Path()) { using (Region region = path.Region()) { return(region.IsVisible(point)); } } }