\Kendo\Dataviz\UI\DiagramShapeStroke

A PHP class representing the stroke setting of DiagramShape.

Methods

color

Defines the color of the shape stroke.

Returns

\Kendo\Dataviz\UI\DiagramShapeStroke

Parameters

$value string

Example

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

dashType

The dash type of the shape.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\DiagramShapeStroke

Parameters

$value string

Example

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

width

Defines the thickness or width of the shape stroke.

Returns

\Kendo\Dataviz\UI\DiagramShapeStroke

Parameters

$value float

Example

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