\Kendo\Dataviz\UI\DiagramConnectionStartCap

A PHP class representing the startCap setting of DiagramConnection.

Methods

fill

The connection start cap fill options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionStartCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionStartCapFill

<?php
$startCap = new \Kendo\Dataviz\UI\DiagramConnectionStartCap();
$fill = new \Kendo\Dataviz\UI\DiagramConnectionStartCapFill();
$color = 'value';
$fill->color($color);
$startCap->fill($fill);
?>

Example - using array

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

stroke

The connection start cap stroke options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionStartCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionStartCapStroke

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

Example - using array

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

type

The connection start cap type.The supported values are:

Returns

\Kendo\Dataviz\UI\DiagramConnectionStartCap

Parameters

$value string

Example

<?php
$startCap = new \Kendo\Dataviz\UI\DiagramConnectionStartCap();
$startCap->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