Class LineSegment
A class representing a straight line between a start and end point.
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class LineSegment : Segment
Constructors
| Name | Description |
|---|---|
| LineSegment(MapPoint, MapPoint) | Initializes a new instance of the LineSegment class based on two points. |
| LineSegment(MapPoint, MapPoint, SpatialReference?) | Initializes a new instance of the LineSegment class based on two points and a spatial reference. |
| LineSegment(double, double, double, double) | Initializes a new instance of the LineSegment class on coordinates |
| LineSegment(double, double, double, double, SpatialReference?) | Initializes a new instance of the LineSegment class based on coordinates. |
| LineSegment(double, double, double, double, double, double) | Initializes a new instance of the LineSegment class based on 3D coordinates |
| LineSegment(double, double, double, double, double, double, SpatialReference?) | Initializes a new instance of the LineSegment class based on 3D coordinates and a spatial reference. |
Methods
| Name | Description |
|---|---|
| CreateLineAtAngleFromStartPoint(MapPoint, double, double) | Creates a line segment of the specified length and angle from a given start point. |
| ToString() |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |