\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke
A PHP class representing the stroke setting of DiagramShapeDefaultsConnectorDefaults.
Methods
color
Defines the stroke color.
Returns
\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke
Parameters
$value string
Example
<?php
$stroke = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke();
$stroke->color('value');
?>
dashType
Defines the stroke dash type. 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 long dashes; "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\DiagramShapeDefaultsConnectorDefaultsStroke
Parameters
$value string
Example
<?php
$stroke = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke();
$stroke->dashType('value');
?>
width
Defines the thickness or width of the shape connectors stroke.
Returns
\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke
Parameters
$value float
Example
<?php
$stroke = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke();
$stroke->width(1);
?>