DiagramShapeConnectorBuilder

Methods

Description(System.String)

The connector description.

Parameters

value - System.String

The value for Description

RETURNS

Returns the current 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 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 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 instance.

Width(System.Double)

Defines the width of the shape connectors.

Parameters

value - System.Double

The value for Width

RETURNS

Returns the current 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 instance.

Hover(System.Action)

Defines the hover configuration of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeConnectorHoverSettingsBuilder>

The configurator for the hover setting.

RETURNS

Returns the current instance of DiagramShapeConnectorBuilder .

Fill(System.Action)

Defines the fill options of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeConnectorFillSettingsBuilder>

The configurator for the fill setting.

RETURNS

Returns the current instance of DiagramShapeConnectorBuilder .

Stroke(System.Action)

Defines the stroke options of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeConnectorStrokeSettingsBuilder>

The configurator for the stroke setting.

RETURNS

Returns the current instance of 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 instance.