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