Beispiel #1
0
 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;
 }
Beispiel #2
0
 //
 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;
 }
Beispiel #3
0
 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;
		}