layout: default title: HighlightOptions parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

HighlightOptions Class

Options for configuring the highlight. Use the highlight method on the appropriate LayerView to highlight a
feature. With version 4.19, highlighting a feature influences the shadow of the feature as well. By default, the
shadow of the highlighted feature is displayed in a darker shade.
ArcGIS Maps SDK for JavaScript

public class HighlightOptions : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 HighlightOptions

Constructors

HighlightOptions() Constructor

Default Constructor for use as a Blazor Component.

public HighlightOptions();

HighlightOptions(MapColor, MapColor, Nullable, Nullable, MapColor, Nullable, Nullable) Constructor

Constructor for use in C# code.

public HighlightOptions(dymaptic.GeoBlazor.Core.Objects.MapColor? color=null, dymaptic.GeoBlazor.Core.Objects.MapColor? haloColor=null, System.Nullable<double> haloOpacity=null, System.Nullable<double> fillOpacity=null, dymaptic.GeoBlazor.Core.Objects.MapColor? shadowColor=null, System.Nullable<double> shadowOpacity=null, System.Nullable<double> shadowDifference=null);

Parameters

color MapColor

haloColor MapColor

haloOpacity System.Nullable<System.Double>

fillOpacity System.Nullable<System.Double>

shadowColor MapColor

shadowOpacity System.Nullable<System.Double>

shadowDifference System.Nullable<System.Double>

Properties

HighlightOptions.Color Property

The color of the highlight fill.
DefaultValue: #00ffff

public dymaptic.GeoBlazor.Core.Objects.MapColor? Color { get; set; }

Property Value

MapColor

HighlightOptions.FillOpacity Property

The opacity of the fill (area within the halo). This will be multiplied with the opacity specified in color.
DefaultValue: 0.25

public System.Nullable<double> FillOpacity { get; set; }

Property Value

System.Nullable<System.Double>

HighlightOptions.HaloColor Property

The color of the halo surrounding the highlight. If no haloColor is provided, then the halo will be colored with
the specified color.

public dymaptic.GeoBlazor.Core.Objects.MapColor? HaloColor { get; set; }

Property Value

MapColor

HighlightOptions.HaloOpacity Property

The opacity of the highlight halo. This will be multiplied with any opacity specified in color.
DefaultValue: 1

public System.Nullable<double> HaloOpacity { get; set; }

Property Value

System.Nullable<System.Double>

HighlightOptions.ShadowColor Property

The color of the highlighted feature’s shadow.
DefaultValue: #000000

public dymaptic.GeoBlazor.Core.Objects.MapColor? ShadowColor { get; set; }

Property Value

MapColor

Remarks

Only supported on 3D scene views.

HighlightOptions.ShadowDifference Property

Defines the intensity of the shadow area obtained by overlapping the shadow of the highlighted feature and the
shadow of other objects in the scene. The value ranges from 0 to 1. A value of 0 highlights the overlapping shadow
areas in the same way (no difference). Setting it to 1 highlights only the difference between the shadow areas, so
the overlapping shadow areas aren’t highlighted at all.
DefaultValue: 0.375

public System.Nullable<double> ShadowDifference { get; set; }

Property Value

System.Nullable<System.Double>

Remarks

Only supported on 3D scene views.

HighlightOptions.ShadowOpacity Property

The opacity of the highlighted feature’s shadow. This will be multiplied with the opacity specified in shadowColor.
DefaultValue: 0.4

public System.Nullable<double> ShadowOpacity { get; set; }

Property Value

System.Nullable<System.Double>

Remarks

Only supported on 3D scene views.