Class Segment
An edge of a multipart geometry, connecting a start to an end point.
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Segment
Remarks
A segment describes a continuous line between a start location and an end location. Every Read
Because a single location is shared by adjacent segments, a single Map
Segments are immutable so you cannot change a segment's shape once it is created. For workflows that involve geometry editing, create a new segment with the properties you require.
Both linear segments (represented by Line
Properties
Name | Description |
---|---|
End |
Gets the end point of the segment. |
Is |
Gets a value indicating whether the segment is closed (has a matching start and end point). |
Is |
Gets a value indicating whether this segment is a curve, or a line segment. |
Spatial |
Gets the spatial reference for the segment, or |
Start |
Gets the start point of the segment. |
Methods
Name | Description |
---|---|
Is |
Checks if two segments and their spatial references are equal. |
Applies to
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.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |