# DiagramShapeConnectorBuilder

## Methods

### Description(System.String)

The connector description.

#### Parameters

##### value - `System.String`

The value for Description

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Name(System.String)

The connector name. The predefined names are: "top" - top connector; "right" - right connector; "bottom" - bottom connector; "bottomRight" - bottom right connector; "left" - left connector or "auto" - auto connector.

#### Parameters

##### value - `System.String`

The value for Name

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Position(System.String)

The function that positions the connector. The function is passed a shape as parameter and should return a kendo.dataviz.diagram.Point indicating where the connector should be placed.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Position(System.Func)

The function that positions the connector. The function is passed a shape as parameter and should return a kendo.dataviz.diagram.Point indicating where the connector should be placed.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Width(System.Double)

Defines the width of the shape connectors.

#### Parameters

##### value - `System.Double`

The value for Width

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Height(System.Double)

Defines the height of the shape connectors.

#### Parameters

##### value - `System.Double`

The value for Height

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.

### Hover(System.Action)

Defines the hover configuration of the shape connectors.

#### Parameters

##### configurator - System.Action<[DiagramShapeConnectorHoverSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorhoversettingsbuilder)>

The configurator for the hover setting.

#### RETURNS

Returns the current instance of [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) .

### Fill(System.String)

Defines the fill options of the shape connectors.

#### Parameters

##### fill - `System.String`

The fill.

#### RETURNS

Returns the current instance of [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) .

### Fill(System.Action)

Defines the fill options of the shape connectors.

#### Parameters

##### configurator - System.Action<[DiagramShapeConnectorFillSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorfillsettingsbuilder)>

The configurator for the fill setting.

#### RETURNS

Returns the current instance of [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) .

### Stroke(System.String)

Defines the stroke options of the shape connectors.

#### Parameters

##### stroke - `System.String`

The stroke.

#### RETURNS

Returns the current instance of [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) .

### Stroke(System.Action)

Defines the stroke options of the shape connectors.

#### Parameters

##### configurator - System.Action<[DiagramShapeConnectorStrokeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorstrokesettingsbuilder)>

The configurator for the stroke setting.

#### RETURNS

Returns the current instance of [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) .

### Offset(System.Double)

Defines the offset applied to the connector position. The offset pushes the connector away from the shape edge by the specified number of pixels in the direction appropriate for the connector's position (e.g., upward for "top", downward for "bottom", etc.).

#### Parameters

##### value - `System.Double`

The value for Offset

#### RETURNS

Returns the current [DiagramShapeConnectorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapeconnectorbuilder) instance.
