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.0 |
.NET 6.0 | 100.13 - 200.0 |
.NET 6.0 Windows | 100.13 - 200.0 |
.NET 6.0 Android | 200 |
.NET 6.0 iOS | 200 |
.NET Framework | 100.0 - 200.0 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Android | 100.0 - 100.15 |
iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.0 |