/// <summary> /// Substracts X and Y from Point /// </summary> /// <param name="p"></param> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public static PointF SubXY(this PointF p, float x, float y) => p.AddXY(-x, -y);
/// <summary> /// Substracts X and Y values /// </summary> /// <param name="p"></param> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public static Point SubXY(this Point p, int x, int y) => p.AddXY(-x, -y);