layout: default title: OpacityStop parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Components.Layers

OpacityStop Class

Defines a 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 using as a razor component

public OpacityStop();

OpacityStop(double, double, string) Constructor

Constructs a new OpacityStop in code with parameters

public OpacityStop(double value, double opacity, string? label=null);

Parameters

value System.Double

Specifies the data value to map to the given opacity.

opacity System.Double

The opacity value in points (between 0.0 and 1.0) used to render features with the given value.

label System.String

A string value used to label the stop in the Legend.

Properties

OpacityStop.Label Property

A string value used to label the stop in the Legend.

public string? Label { get; set; }

Property Value

System.String

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>