Defines the fluent API for configuring MapLayerStyleStrokeSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MapLayerStyleStrokeSettingsBuilder
Inheritance: objectMapLayerStyleStrokeSettingsBuilder
Inherited Members
Constructors
MapLayerStyleStrokeSettingsBuilder method.
public MapLayerStyleStrokeSettingsBuilder(MapLayerStyleStrokeSettings container)
Properties
Gets the settings being configured.
protected MapLayerStyleStrokeSettings Container { get; }
Methods
The default stroke color for layer shapes. Accepts a valid CSS color string, including hex and rgb.
public MapLayerStyleStrokeSettingsBuilder Color(string value)
The value for Color
Returns:MapLayerStyleStrokeSettingsBuilder
Returns the current MapLayerStyleStrokeSettingsBuilder instance.
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.
public MapLayerStyleStrokeSettingsBuilder DashType(double value)
The value for DashType
Returns:MapLayerStyleStrokeSettingsBuilder
Returns the current MapLayerStyleStrokeSettingsBuilder instance.
The default stroke opacity (0 to 1) for layer shapes.
public MapLayerStyleStrokeSettingsBuilder Opacity(double value)
The value for Opacity
Returns:MapLayerStyleStrokeSettingsBuilder
Returns the current MapLayerStyleStrokeSettingsBuilder instance.
The default stroke width for layer shapes.
public MapLayerStyleStrokeSettingsBuilder Width(double value)
The value for Width
Returns:MapLayerStyleStrokeSettingsBuilder
Returns the current MapLayerStyleStrokeSettingsBuilder instance.