\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorStroke

A PHP class representing the stroke setting of DiagramShapeDefaultsConnector.

Methods

color

Defines the stroke color.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorStroke

Parameters

$value string

Example

<?php
$stroke = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorStroke();
$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\DiagramShapeDefaultsConnectorStroke

Parameters

$value string

Example

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

width

Defines the thickness or width of the shape connectors stroke.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorStroke

Parameters

$value float

Example

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