\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

A PHP class representing the connectorDefaults setting of DiagramShapeDefaults.

Methods

fill

Defines the fill options of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsFill

<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults();
$fill = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsFill();
$color = 'value';
$fill->color($color);
$connectorDefaults->fill($fill);
?>

Example - using array

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

height

Defines the height of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

Parameters

$value float

Example

<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults();
$connectorDefaults->height(1);
?>

hover

Defines the hover configuration of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

Parameters

$value \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsHover |array

Example - using \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsHover

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

Example - using array

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

stroke

Defines the stroke options of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

Parameters

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

Example - using string

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

Example - using \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke

<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults();
$stroke = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaultsStroke();
$color = 'value';
$stroke->color($color);
$connectorDefaults->stroke($stroke);
?>

Example - using array

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

width

Defines the width of the shape connectors.

Returns

\Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults

Parameters

$value float

Example

<?php
$connectorDefaults = new \Kendo\Dataviz\UI\DiagramShapeDefaultsConnectorDefaults();
$connectorDefaults->width(1);
?>