\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke

A PHP class representing the stroke setting of DiagramConnectionDefaultsEndCap.

Methods

color

The connections end cap stroke color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke

Parameters

$value string

Example

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

dashType

The connections end cap stroke dash type.The following dash types are supported: "dash" - A line that consists of dashes; "dashDot" - A line that consists of a repeating pattern of dash-dot; "dot" - A line that consists of dots; "longDash" - A line that consists of a repeating pattern of long-dash; "longDashDot" - A line that consists of a repeating pattern of long-dash-dot; "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot or "solid" - A solid line.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke

Parameters

$value string

Example

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

width

The connections end cap stroke width.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke

Parameters

$value float

Example

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