MKPolygon.FromPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromPoints(MKMapPoint[]) |
Creates an MKPolygon from the specified |
FromPoints(MKMapPoint[], MKPolygon[]) |
Creates an MKPolygon from the specified |
FromPoints(MKMapPoint[])
Creates an MKPolygon from the specified points
.
public static MapKit.MKPolygon FromPoints (MapKit.MKMapPoint[] points);
static member FromPoints : MapKit.MKMapPoint[] -> MapKit.MKPolygon
Parameters
- points
- MKMapPoint[]
An array of MKMapPoints that define the polygon.
Returns
Remarks
(More documentation for this node is coming)
This can be used from a background thread.
Applies to
FromPoints(MKMapPoint[], MKPolygon[])
Creates an MKPolygon from the specified points
, excluding the specified interiorPolygons
.
public static MapKit.MKPolygon FromPoints (MapKit.MKMapPoint[] points, MapKit.MKPolygon[] interiorPolygons);
static member FromPoints : MapKit.MKMapPoint[] * MapKit.MKPolygon[] -> MapKit.MKPolygon
Parameters
- points
- MKMapPoint[]
An array of MKMapPoints that define the polygon.
- interiorPolygons
- MKPolygon[]
An array of MKPolygons that should be excluded from the polygon's interior.
Returns
Remarks
(More documentation for this node is coming)
This can be used from a background thread.