\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke

A PHP class representing the stroke setting of MapLayerDefaultsShapeStyle.

Methods

color

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

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke

Parameters

$value string

Example

<?php
$stroke = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke();
$stroke->color('value');
?>

dashType

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.

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke

Parameters

$value string

Example

<?php
$stroke = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke();
$stroke->dashType('value');
?>

opacity

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

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke

Parameters

$value float

Example

<?php
$stroke = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke();
$stroke->opacity(1);
?>

width

The default stroke width for layer shapes.

Returns

\Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke

Parameters

$value float

Example

<?php
$stroke = new \Kendo\Dataviz\UI\MapLayerDefaultsShapeStyleStroke();
$stroke->width(1);
?>
In this article
Not finding the help you need?