Class LineSegment
A class representing a straight line between a start and end point.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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() | Returns a System.String that represents the current System.Object. |
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 |