Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Class EnclosedPolygonGroup

Represents a group of polygons where the exterior polygon encloses all interior polygons. All the polygons in the group must be disjoint. A typical use case of this class is to represent a polygon with holes inside it, where the exterior polygon is the outer boundary and the interior polygons are the holes.

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

Constructors

| Edit this page View Source

EnclosedPolygonGroup(Polygon)

Initializes a new instance of the EnclosedPolygonGroup class.

Declaration
public EnclosedPolygonGroup(Polygon exteriorPolygon)
Parameters
Type Name Description
Polygon exteriorPolygon

The polygon that encloses all interior polygons.

See Also
MultiPolygon
| Edit this page View Source

EnclosedPolygonGroup(Polygon, List<Polygon>)

Initializes a new instance of the EnclosedPolygonGroup class.

Declaration
public EnclosedPolygonGroup(Polygon exteriorPolygon, List<Polygon> interiorPolygons)
Parameters
Type Name Description
Polygon exteriorPolygon

The polygon that encloses all interior polygons.

List<Polygon> interiorPolygons

The list of polygons inside the exterior polygon.

See Also
MultiPolygon

Properties

| Edit this page View Source

ExteriorPolygon

Gets or sets the polygon that encloses all interior polygons.

Declaration
public Polygon ExteriorPolygon { get; set; }
Property Value
Type Description
Polygon
See Also
MultiPolygon
| Edit this page View Source

InteriorPolygons

Gets the list of polygons inside the exterior polygon.

Declaration
public List<Polygon> InteriorPolygons { get; set; }
Property Value
Type Description
List<Polygon>
See Also
MultiPolygon

Methods

| Edit this page View Source

ToPath()

Converts the EnclosedPolygonGroup to a Path.

Declaration
public Path ToPath()
Returns
Type Description
Path

An Path representing the EnclosedPolygonGroup.

See Also
MultiPolygon

See Also

MultiPolygon