Example #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;
 }
Example #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;
 }
Example #3
0
 internal Region(geom.Area native) : base(native)
 {
 }
Example #4
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;
		}