LineSegment QML Type
Represents a straight line between a start and end Point. More...
|Import Statement:||import Esri.ArcGISRuntime 100.14|
- LineSegment createLineAtAngleFromStartPoint(Point startPoint, double angleRadians, double length)
LineSegments are used to represent the edges of Polygons and Polylines.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
Creates a line segment of the specified length and angle from a given start point.
- startPoint - The start point of the line segment.
- angleRadians - The angle of the line relative to the X axis. Units are radians.
- length - The length of the line.
Use this method to create a line segment. The represents a straight line between two points. The spatial reference of the point is used to determine the segment's spatial reference. The angle is specified in radians relative to the X axis. The length is in the units of the spatial reference.