Method Reshape
Reshape(Multipart, Polyline)
Reshape polygons or polylines with a single path polyline.
Declaration
public static Multipart Reshape(this Multipart geometry, Polyline reshaper)
Parameters
Type | Name | Description |
---|---|---|
Multipart | geometry | The polygon or polyline to be reshaped. |
Polyline | reshaper | The single path polyline reshaper |
Returns
Type | Description |
---|---|
Multipart | The reshaped polygon or polyline, or |
Remarks
Performs the reshape operation on a polygon or polyline using a single path polyline
as the reshaper. The output geometry takes the shape of the polyline where it first
intersects the reshaper to the last intersection. The first and last intersection
points of the reshaper are chosen closest to the end points of the reshaper in the
case that multiple intersections are found. For polygons, only individual paths can be
reshaped. However, polylines can be reshaped across paths. If the geometry cannot be
reshaped by the input reshaper, then null
is returned.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |