New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the MapLayerStrokeSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MapLayerStrokeSettingsBuilder

Inheritance: objectMapLayerStrokeSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public MapLayerStrokeSettingsBuilder(MapLayerStrokeSettings settings)
Parameters:settingsMapLayerStrokeSettings

Methods

The default stroke color for layer shapes. Accepts a valid CSS color string, including hex and rgb.

C#
public MapLayerStrokeSettingsBuilder Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

MapLayerStrokeSettingsBuilder

The default stroke opacity (0 to 1) for layer shapes.

C#
public MapLayerStrokeSettingsBuilder Opacity(double value)
Parameters:valuedouble

The value that configures the opacity.

Returns:

MapLayerStrokeSettingsBuilder