\Kendo\Dataviz\UI\DiagramConnectionDefaultsStartCap

A PHP class representing the startCap setting of DiagramConnectionDefaults.

Methods

fill

The connection start cap fill options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsStartCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsStartCapFill

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

Example - using array

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

stroke

The connection start cap stroke options or color.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsStartCap

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsStartCapStroke

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

Example - using array

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

Parameters

$value string

Example

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