\Kendo\Dataviz\UI\DiagramConnectionEndCap

A PHP class representing the endCap setting of DiagramConnection.

Methods

fill

The connection end cap fill options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEndCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionEndCapFill

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

Example - using array

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

stroke

The connection end cap stroke options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEndCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionEndCapStroke

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

Example - using array

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

type

The connection end cap type.The supported values are: "none": no cap; "ArrowEnd": a filled arrow or "FilledCircle": a filled circle. Note that you can also use the "ArrowStart" for the endCap but its direction will be inversed.

Returns

\Kendo\Dataviz\UI\DiagramConnectionEndCap

Parameters

$value string

Example

<?php
$endCap = new \Kendo\Dataviz\UI\DiagramConnectionEndCap();
$endCap->type('value');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy