\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
A PHP class representing the connectorDefaults setting of DiagramShape.
Methods
fill
Defines the fill options of the shape connectors.
Returns
\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
Parameters
$value string|\Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsFill|array
Example - using string
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$connectorDefaults->fill('value');
?>
Example - using \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsFill
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$fill = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsFill();
$color = 'value';
$fill->color($color);
$connectorDefaults->fill($fill);
?>
Example - using array
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$color = 'value';
$connectorDefaults->fill(array('color' => $color));
?>
height
Defines the height of the shape connectors.
Returns
\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
Parameters
$value float
Example
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$connectorDefaults->height(1);
?>
hover
Defines the hover configuration of the shape connectors.
Returns
\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
Parameters
$value \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsHover|array
Example - using \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsHover
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$hover = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsHover();
$fill = 'value';
$hover->fill($fill);
$connectorDefaults->hover($hover);
?>
Example - using array
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$fill = 'value';
$connectorDefaults->hover(array('fill' => $fill));
?>
stroke
Defines the stroke options of the shape connectors.
Returns
\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
Parameters
$value string|\Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsStroke|array
Example - using string
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$connectorDefaults->stroke('value');
?>
Example - using \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsStroke
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$stroke = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaultsStroke();
$color = 'value';
$stroke->color($color);
$connectorDefaults->stroke($stroke);
?>
Example - using array
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$color = 'value';
$connectorDefaults->stroke(array('color' => $color));
?>
width
Defines the width of the shape connectors.
Returns
\Kendo\Dataviz\UI\DiagramShapeConnectorDefaults
Parameters
$value float
Example
<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeConnectorDefaults();
$connectorDefaults->width(1);
?>