\Kendo\Dataviz\UI\DiagramShapeConnectorHover

A PHP class representing the hover setting of DiagramShapeConnector.

Methods

fill

Defines the hover fill options of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeConnectorHover

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramShapeConnectorHoverFill

<?php
$hover = new \Kendo\Dataviz\UI\DiagramShapeConnectorHover();
$fill = new \Kendo\Dataviz\UI\DiagramShapeConnectorHoverFill();
$color = 'value';
$fill->color($color);
$hover->fill($fill);
?>

Example - using array

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

stroke

Defines the hover stroke options of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeConnectorHover

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramShapeConnectorHoverStroke

<?php
$hover = new \Kendo\Dataviz\UI\DiagramShapeConnectorHover();
$stroke = new \Kendo\Dataviz\UI\DiagramShapeConnectorHoverStroke();
$color = 'value';
$stroke->color($color);
$hover->stroke($stroke);
?>

Example - using array

<?php
$hover = new \Kendo\Dataviz\UI\DiagramShapeConnectorHover();
$color = 'value';
$hover->stroke(array('color' => $color));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy