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

MapLayerDefaultsShapeStyleStrokeSettingsBuilder

Methods

Color(System.String)

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

Parameters

value - System.String

The value for Color

DashType(System.String)

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.

Parameters

value - System.String

The value for DashType

Opacity(System.Double)

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

Parameters

value - System.Double

The value for Opacity

Width(System.Double)

The default stroke width for layer shapes.

Parameters

value - System.Double

The value for Width

In this article
Not finding the help you need?