public void AddRectangle(RectangleF rect) { Gdip.CheckStatus(Gdip.GdipAddPathRectangle( new HandleRef(this, _nativePath), rect.X, rect.Y, rect.Width, rect.Height)); }
public void AddRectangle(RectangleF rect) { int status = Gdip.GdipAddPathRectangle(_nativePath, rect.X, rect.Y, rect.Width, rect.Height); Gdip.CheckStatus(status); }