Click or drag to resize

LineSegment Constructor (MapPoint, MapPoint)

Initializes a new instance of the LineSegment class based on two points.

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public LineSegment(
	MapPoint startPoint,
	MapPoint endPoint
)

Parameters

startPoint
Type: Esri.ArcGISRuntime.GeometryMapPoint
The start point.
endPoint
Type: Esri.ArcGISRuntime.GeometryMapPoint
The end point.
Remarks
Use this method to create a line segment. This represents a straight line between two points.
See Also