Skip To Content ArcGIS for Developers Sign In Dashboard

Segment QML Type

A linear shape defined by a start point, an end point, and a SpatialReference. More...

Import Statement: import Esri.ArcGISRuntime 100.8
Since: Esri.ArcGISRuntime 100.0


Inherited By:





Detailed Description

Note: You cannot declare or create a component of this type in QML code.

Segment is a base type from which different segment types inherit, each defining a different way of connecting the start and end point. Currently only one segment type, LineSegment, is available. Polygons and Polylines are composed of one or more collections of Segments.

Property Documentation

closed : bool

Returns whether the Segment is closed (read-only).

endPoint : Point

Returns the end point of this Segment (read-only).

segmentType : SegmentType

Returns the Enums.SegmentType type of this Segment (read-only).

spatialReference : SpatialReference

Returns the spatial reference of this Segment (read-only).

startPoint : Point

Returns the start point of this Segment (read-only).

Signal Documentation


Emitted when the closed property of the Segment changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.4.


Emitted when the endPoint of the Segment changes.


Emitted when the spatialReference of the Segment changes.


Emitted when the startPoint of the Segment changes.

Method Documentation

bool equals(Segment *other)

Returns true if this segment is equivalent to other.

Feedback on this topic?