\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap

A PHP class representing the endCap setting of DiagramConnectionDefaults.

Methods

fill

The connections end cap fill options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap

Parameters

$value string|\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapFill|array

Example - using string

<?php
$endCap = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap();
$endCap->fill('value');
?>

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapFill

<?php
$endCap = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap();
$fill = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapFill();
$color = 'value';
$fill->color($color);
$endCap->fill($fill);
?>

Example - using array

<?php
$endCap = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap();
$color = 'value';
$endCap->fill(array('color' => $color));
?>

stroke

The connections end cap stroke options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap

Parameters

$value string|\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke|array

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCapStroke

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

Example - using array

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

type

The end cap type used in connections.The supported values are: "none": no cap; "ArrowEnd": a filled arrow or "FilledCircle": a filled circle.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap

Parameters

$value string

Example

<?php
$endCap = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsEndCap();
$endCap->type('value');
?>
In this article
Not finding the help you need?