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.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Inherited By:

LineSegment

Properties

Signals

Methods

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

closedChanged()

Emitted when the closed property of the Segment changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.4.


endPointChanged()

Emitted when the endPoint of the Segment changes.


spatialReferenceChanged()

Emitted when the spatialReference of the Segment changes.


startPointChanged()

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?