\Kendo\Dataviz\UI\DiagramSelectableStroke

A PHP class representing the stroke setting of DiagramSelectable.

Methods

color

Defines the selection stroke color. Accepts valid CSS colors.

Returns

\Kendo\Dataviz\UI\DiagramSelectableStroke

Parameters

$value string

Example

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

dashType

Defines the selection 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\DiagramSelectableStroke

Parameters

$value string

Example

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

width

Defines the selection stroke width.

Returns

\Kendo\Dataviz\UI\DiagramSelectableStroke

Parameters

$value float

Example

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