/// <summary> /// GraphicsPath内是否包含点 /// </summary> /// <param name="path"></param> /// <param name="point"></param> /// <returns></returns> public static bool containsPoint(this GraphicsPath path, Point point) { return(GraphicsUtil.pointInPath(point, path)); }
/// <summary> /// 点是否包含在GraphicsPath内 /// </summary> /// <param name="point"></param> /// <param name="path"></param> /// <returns></returns> public static bool isInPath(this Point point, GraphicsPath path) { return(GraphicsUtil.pointInPath(point, path)); }