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