public void AddLine(float x1, float y1, float x2, float y2) { int status = Gdip.GdipAddPathLine(_nativePath, x1, y1, x2, y2); Gdip.CheckStatus(status); }
public void AddLine(PointF pt1, PointF pt2) { int status = Gdip.GdipAddPathLine(_nativePath, pt1.X, pt1.Y, pt2.X, pt2.Y); Gdip.CheckStatus(status); }
public void AddLine(float x1, float y1, float x2, float y2) { Gdip.CheckStatus(Gdip.GdipAddPathLine(new HandleRef(this, _nativePath), x1, y1, x2, y2)); }