Show / Hide Table of Contents

Constructor Polygon

Polygon(IEnumerable<MapPoint>)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<MapPoint> part)
Parameters
Type Name Description
IEnumerable<MapPoint> part

Points to be used for the first part.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<MapPoint>, SpatialReference)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<MapPoint> part, SpatialReference spatialReference)
Parameters
Type Name Description
IEnumerable<MapPoint> part

Points to be used for the first part.

SpatialReference spatialReference

The spatial reference.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<IEnumerable<MapPoint>>)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<IEnumerable<MapPoint>> parts)
Parameters
Type Name Description
IEnumerable<IEnumerable<MapPoint>> parts

The polygon parts.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<IEnumerable<MapPoint>>, SpatialReference)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<IEnumerable<MapPoint>> parts, SpatialReference spatialReference)
Parameters
Type Name Description
IEnumerable<IEnumerable<MapPoint>> parts

The polygon parts.

SpatialReference spatialReference

The spatial reference of the polygon.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<Segment>)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<Segment> part)
Parameters
Type Name Description
IEnumerable<Segment> part

Points to be used for the first part.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<Segment>, SpatialReference)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<Segment> part, SpatialReference spatialReference)
Parameters
Type Name Description
IEnumerable<Segment> part

Points to be used for the first part.

SpatialReference spatialReference

The spatial reference.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<IEnumerable<Segment>>)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<IEnumerable<Segment>> parts)
Parameters
Type Name Description
IEnumerable<IEnumerable<Segment>> parts

The polygon parts.

Applies to

Platforms and versions
TargetVersions
UWP100.15

Polygon(IEnumerable<IEnumerable<Segment>>, SpatialReference)

Initializes a new instance of the Polygon class.

Declaration
public Polygon(IEnumerable<IEnumerable<Segment>> parts, SpatialReference spatialReference)
Parameters
Type Name Description
IEnumerable<IEnumerable<Segment>> parts

The polygon parts.

SpatialReference spatialReference

The spatial reference of the polygon.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.