Show / Hide Table of Contents

Class Region

Represents a region of the screen in device-independent pixels.

Inheritance
object
Region
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public abstract class Region

Methods

Name Description
And(Region, Region)

Creates the intersection of the two regions.

Combine(Region, CombineMode)

The Combine function combines two regions. The two regions are combined according to the specified mode.

Create(Rect)

Creates a rectangular region.

Create(Rect, double, double)

Creates a rectangular region with rounded corners.

Xor(Region, Region)

Creates the union of two regions except for any overlapping areas.

Operators

Name Description
operator +(Region, Region)

Creates the union of two combined regions.

operator -(Region, Region)

Combines the parts of region1 that are not part of region2.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX