Skip To Content ArcGIS for Developers Sign In Dashboard

LineOfSight QML Type

A base type containing common functionality for line-of-sight analysis objects. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.2
Inherits:

Analysis

Inherited By:

GeoElementLineOfSight and LocationLineOfSight

Properties

Signals

Methods

Detailed Description

The LineOfSight analysis result is a line rendered between the observer and target with distinct colors representing visible and obstructed segments.

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

Property Documentation

targetVisibility : Enums.LineOfSightTargetVisibility

The target visibility state of the LineOfSight (read-only).

See also Enums.LineOfSightTargetVisibility.


Signal Documentation

targetVisibilityChanged()

Emitted when the targetVisibility property changes.


Method Documentation

real lineWidth()

Returns the line width used to render LineOfSight analysis results.

This is a global setting and applies to all LineOfSight analyses within the application.


color obstructedColor()

Returns the color used to render segments that are not visible along LineOfSight analysis results.

Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color.

This is a global setting and applies to all LineOfSight analyses within the application.


void setLineWidth(float lineWidth)

Sets the line width used to render LineOfSight analysis results to lineWidth.

This is a global setting and applies to all LineOfSight analyses within the application.


void setObstructedColor(color obstructedColor)

Sets the color used to render segments that are not visible along LineOfSight analysis results to obstructedColor.

Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color.

This is a global setting and applies to all LineOfSight analyses within the application.


void setVisibleColor(color visibleColor)

Sets the color used to render segments that are visible along LineOfSight analysis results to visibleColor.

Sections of the line between the observer and the target that are visible are drawn with the specified color.

This is a global setting and applies to all LineOfSight analyses within the application.


color visibleColor()

Returns the color used to render segments that are visible along LineOfSight analysis results.

Sections of the line between the observer and the target that are visible are drawn with the specified color.

This is a global setting and applies to all LineOfSight analyses within the application.



Feedback on this topic?