DiagramShapeDefaultsSettingsConnectorBuilder

Methods

Name(System.String)

The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.

Parameters

value - System.String

The value for Name

RETURNS

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder instance.

Position(System.String)

The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder instance.

Position(System.Func)

The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder instance.

Width(System.Double)

Defines the width of the shape connectors.

Parameters

value - System.Double

The value for Width

RETURNS

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder instance.

Height(System.Double)

Defines the height of the shape connectors.

Parameters

value - System.Double

The value for Height

RETURNS

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder instance.

Hover(System.Action)

Defines the hover configuration of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeDefaultsConnectorHoverSettingsBuilder>

The configurator for the hover setting.

RETURNS

Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder .

Fill(System.Action)

Defines the fill options of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeDefaultsConnectorFillSettingsBuilder>

The configurator for the fill setting.

RETURNS

Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder .

Stroke(System.Action)

Defines the stroke options of the shape connectors.

Parameters

configurator - System.Action<DiagramShapeDefaultsConnectorStrokeSettingsBuilder>

The configurator for the stroke setting.

RETURNS

Returns the current instance of DiagramShapeDefaultsSettingsConnectorBuilder .

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 DiagramShapeDefaultsSettingsConnectorBuilder instance.