Class Region
Represents a region of the screen in device-independent pixels.
Inherited Members
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. |
| CreateElliptic(double, double, double, double) | Creates an elliptical region. |
| CreatePolygon(IEnumerable<Point>) | Creates a polygonal region using alternate mode (fills area between odd-numbered and even-numbered polygon sides on each scan line). |
| CreateRectangle(Rect) | Creates a rectangular region in device independent units. |
| CreateRectangle(RectInt32) | Creates a rectangular region in screen units. |
| CreateRoundedRectangle(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 |