Class LineOfSight
A base class for visibility analyses such as LocationLineOfSight and GeoElementLineOfSight.
Implements
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |