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

Kendo UI MapLayerStyleStrokeSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MapLayerStyleStrokeSettings

Inheritance: objectMapLayerStyleStrokeSettings

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

Constructors

C#
public MapLayerStyleStrokeSettings()

Properties

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

C#
public string Color { get; set; }

The default dash type for layer shapes. The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

C#
public double? DashType { get; set; }

Map member.

C#
public Map Map { get; set; }

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

C#
public double? Opacity { get; set; }

The default stroke width for layer shapes.

C#
public double? Width { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>