public void Complement(Region region) { if (region == null) { throw new ArgumentNullException("region"); } geom.Area a = (geom.Area)region.NativeObject.clone(); a.subtract(NativeObject); Shape = a; }
// public void Complement(GraphicsPath path) { if (path == null) { throw new ArgumentNullException("path"); } geom.Area a = new geom.Area(path.NativeObject); a.subtract(NativeObject); Shape = a; }
internal Region(geom.Area native) : base(native) { }
public void Complement(RectangleF rect) { geom.Area a = new geom.Area(rect.NativeObject); a.subtract(NativeObject); Shape = a; }
public void Complement (RectangleF rect) { geom.Area a = new geom.Area(rect.NativeObject); a.subtract(NativeObject); Shape = a; }
// public void Complement (GraphicsPath path) { if (path == null) throw new ArgumentNullException("path"); geom.Area a = new geom.Area(path.NativeObject); a.subtract(NativeObject); Shape = a; }