[]
Represents a region that is defined by a set of rectangles and polygons.
public class CompiledRegion
| Name | Description |
|---|---|
| CompiledRegion() | Initializes a new instance of the CompiledRegion class. |
| CompiledRegion(List<Entity>) | Initializes a new instance of the CompiledRegion class with the specified entities. |
| Name | Description |
|---|---|
| Entities | Gets a read-only collection of entities defining the region. |
| Name | Description |
|---|---|
| Exclude(PointF[]) | Exclude polygon from the region. |
| Exclude(RectangleF) | Excludes the specified rectangle from the region. |
| Intersect(PointF[]) | Intersects with polygon. |
| Intersect(RectangleF) | Intersects the region with the specified rectangle. |
| Union(PointF[]) | Adds polygon to the region. |
| Union(RectangleF) | Adds a rectangle to the region. |