Constructor LineSegment
LineSegment(MapPoint, MapPoint)
Initializes a new instance of the Line
Declaration
public LineSegment(MapPoint startPoint, MapPoint endPoint)
Parameters
Remarks
Use this constructor to create a line segment representing a straight line between two points.
If both points have a Spatial
Applies to
Platforms and versions
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 |
LineSegment(MapPoint, MapPoint, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(MapPoint startPoint, MapPoint endPoint, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
Map |
startPoint | The start point. |
Map |
endPoint | The end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the points have a null
Spatial
Applies to
Platforms and versions
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 |
LineSegment(Double, Double, Double, Double)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double xEnd, double yEnd)
Parameters
Type | Name | Description |
---|---|---|
System. |
xStart | The X coordinate of start point. |
System. |
yStart | The Y coordinate of start point. |
System. |
xEnd | The X coordinate of end point. |
System. |
yEnd | The Y coordinate of end point. |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
Applies to
Platforms and versions
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 |
LineSegment(Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double xEnd, double yEnd, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System. |
xStart | The X coordinate of start point. |
System. |
yStart | The Y coordinate of start point. |
System. |
xEnd | The X coordinate of end point. |
System. |
yEnd | The Y coordinate of end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the point's have a null
Spatial
Applies to
Platforms and versions
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 |
LineSegment(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd)
Parameters
Type | Name | Description |
---|---|---|
System. |
xStart | The X coordinate of start point. |
System. |
yStart | The Y coordinate of start point. |
System. |
zStart | The Z coordinate of start point. |
System. |
xEnd | The X coordinate of end point. |
System. |
yEnd | The Y coordinate of end point. |
System. |
zEnd | The Z coordinate of end point. |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
Applies to
Platforms and versions
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 |
LineSegment(Double, Double, Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the Line
Declaration
public LineSegment(double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd, SpatialReference spatialReference)
Parameters
Type | Name | Description |
---|---|---|
System. |
xStart | The X coordinate of start point. |
System. |
yStart | The Y coordinate of start point. |
System. |
zStart | The Z coordinate of start point. |
System. |
xEnd | The X coordinate of end point. |
System. |
yEnd | The Y coordinate of end point. |
System. |
zEnd | The Z coordinate of end point. |
Spatial |
spatialReference | A spatial reference |
Remarks
Use this constructor to create a line segment representing a straight line between two points.
The spatialReference
parameter is used if the point's have a null
Spatial
Applies to
Platforms and versions
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 |