System.Drawing.Region.Xor C# (CSharp) Method

Xor() public method

Updates this Region to the union minus the intersection of itself with the specified Rectangle structure.
public Xor ( Rectangle rect ) : void
rect Rectangle Rect.
return void
        public void Xor(Rectangle rect)
        {
            Xor ((RectangleF)rect);
        }

Same methods

Region::Xor ( GraphicsPath path ) : void
Region::Xor ( RectangleF rect ) : void
Region::Xor ( Region region ) : void

Usage Example

Beispiel #1
0
		public void ctor_GraphicsPath () {
			GraphicsPath path = new GraphicsPath ();
			path.AddRectangle (rect);
			Region r1 = new Region (path);
			r1.Xor (r);
			Assert.IsTrue (r1.IsEmpty (t.Graphics));
		}
All Usage Examples Of System.Drawing.Region::Xor