[]
Initializes a new instance of the CompiledRegion.Entity struct with the specified points.
public Entity(PointF[] points)
| Type | Name | Description |
|---|---|---|
| PointF[] | points | An array of points defining the entity. |
Initializes a new instance of the CompiledRegion.Entity struct from a RectangleF.
public Entity(RectangleF rect)
| Type | Name | Description |
|---|---|---|
| RectangleF | rect | The rectangle to be represented as an entity. |