Show / Hide Table of Contents

Class LineOfSight

A base class for visibility analyses such as LocationLineOfSight and GeoElementLineOfSight.

Inheritance
System.Object
Analysis
LineOfSight
GeoElementLineOfSight
LocationLineOfSight
Implements
System.ComponentModel.INotifyPropertyChanged
Analysis.IsVisible
Analysis.INotifyPropertyChanged.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.UI.GeoAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class LineOfSight : Analysis, INotifyPropertyChanged
Remarks

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

When at least one of the two ends (the observer and the target) of the line is placed outside the view, the colors of the visible part of the line may not accurately represent the hidden part. In such cases, the line is rendered gray. To display the color, move both the observer and the target into the view.

Properties

Name Description
LineWidth

Gets or sets the line width used to render LineOfSight analysis results.

ObstructedColor

Gets or sets the color used to render segments that are not visible along LineOfSight analysis results.

TargetVisibility

Gets the target visibility from the LineOfSight object.

VisibleColor

Gets or sets the color used to render segments that are visible along LineOfSight analysis results.

Events

Name Description
TargetVisibilityChanged

Raised when the target visibility has changed.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.