Edytuj

Udostępnij za pośrednictwem


MKPolygon.FromPoints Method

Definition

Overloads

FromPoints(MKMapPoint[])

Creates an MKPolygon from the specified points.

FromPoints(MKMapPoint[], MKPolygon[])

Creates an MKPolygon from the specified points, excluding the specified interiorPolygons.

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.

Applies to