\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: "none": no cap; "ArrowStart": a filled arrow or "FilledCircle": a filled circle.
Returns
\Kendo\Dataviz\UI\DiagramConnectionStartCap
Parameters
$value string
Example
<?php
$startCap = new \Kendo\Dataviz\UI\DiagramConnectionStartCap();
$startCap->type('value');
?>