dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
OpacityStop Class
Defines an opacity stop used for creating a continuous opacity visualization in a
opacity visual variable.
ArcGIS Maps SDK for JavaScript
public class OpacityStop : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 OpacityStop
Constructors
OpacityStop() Constructor
Parameterless constructor for use as a Razor Component.
public OpacityStop();
OpacityStop(double, double, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public OpacityStop(double value, double opacity, string? label=null);
Parameters
value
System.Double
Specifies the data value to map to the given opacity value.
ArcGIS Maps SDK for JavaScript
opacity
System.Double
The opacity value (between 0.0
and 1.0
) used to render features with the given value.
ArcGIS Maps SDK for JavaScript
label
System.String
A string value used to label the stop in the Legend.
ArcGIS Maps SDK for JavaScript
Properties
OpacityStop.Label Property
A string value used to label the stop in the Legend.
public string? Label { get; set; }
Property Value
OpacityStop.Opacity Property
The opacity value in points (between 0.0 and 1.0) used to render features with the given value.
public System.Nullable<double> Opacity { get; set; }
Property Value
System.Nullable<System.Double>
OpacityStop.Value Property
Specifies the data value to map to the given opacity.
public System.Nullable<double> Value { get; set; }
Property Value
System.Nullable<System.Double>
Methods
OpacityStop.GetLabel() Method
Asynchronously retrieve the current value of the Label property.
public System.Threading.Tasks.Task<string?> GetLabel();
Returns
System.Threading.Tasks.Task<System.String>
OpacityStop.GetOpacity() Method
Asynchronously retrieve the current value of the Opacity property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetOpacity();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
OpacityStop.GetValue() Method
Asynchronously retrieve the current value of the Value property.
public System.Threading.Tasks.Task<System.Nullable<double>> GetValue();
Returns
System.Threading.Tasks.Task<System.Nullable<System.Double>>
OpacityStop.SetLabel(string) Method
Asynchronously set the value of the Label property after render.
public System.Threading.Tasks.Task SetLabel(string? value);
Parameters
value
System.String
The value to set.
Returns
OpacityStop.SetOpacity(Nullable) Method
Asynchronously set the value of the Opacity property after render.
public System.Threading.Tasks.Task SetOpacity(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.
Returns
OpacityStop.SetValue(Nullable) Method
Asynchronously set the value of the Value property after render.
public System.Threading.Tasks.Task SetValue(System.Nullable<double> value);
Parameters
value
System.Nullable<System.Double>
The value to set.