# DiagramShapeDefaultsSettingsBuilder

## Methods

### Type(Kendo.Mvc.UI.DiagramShapeType)

Specifies the type of the Diagram Shape using any of the built-in shape type. rectangle: this is the default option; circle: a circle/ellipse; image: an image or text: some text.

#### Parameters

##### value - [DiagramShapeType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramshapetype)

The value for Type

#### RETURNS

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

### Type(Kendo.Mvc.UI.FlowchartShapeType)

Specifies the type of the Workflow Shape type using any of the built-in shape types. Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention.

#### Parameters

##### value - [FlowchartShapeType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/flowchartshapetype)

The value for Type

#### RETURNS

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

### Connectors(System.Action)

Defines the connectors the shape owns. A connector is the point in the shape where a connection between this shape and another one can originate from or end. "top" - top connector.; "right" - right connector.; "bottom" - bottom connector.; "bottomRight" - bottom right connector.; "left" - left connector. or "auto" - auto connector.. You can define your own custom connectors or use the predefined types.

#### Parameters

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

The configurator for the connectors setting.

#### RETURNS

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

### ConnectorDefaults(System.Action)

Defines the default options for the shape connectors.

#### Parameters

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

The configurator for the connectordefaults setting.

#### RETURNS

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

### Content(System.Action)

Defines the default shapes content settings.

#### Parameters

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

The configurator for the content setting.

#### RETURNS

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

### Editable(System.Action)

Defines the shape editable options.

#### Parameters

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

The configurator for the editable setting.

#### RETURNS

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

### Editable(System.Boolean)

Defines the shape editable options.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the editable option.

#### RETURNS

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

### Fill(System.String)

Defines the fill options of the shape. Use these settings to apply a single-color or a gradient background to all shapes in the Diagram.

#### Parameters

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

The fill.

#### RETURNS

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

### Fill(System.Action)

Defines the fill options of the shape. Use these settings to apply a single-color or a gradient background to all shapes in the Diagram.

#### Parameters

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

The configurator for the fill setting.

#### RETURNS

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

### Height(System.Double)

Defines the default height of shapes in the Diagram.

#### Parameters

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

The value for Height

#### RETURNS

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

### Hover(System.Action)

Defines the hover configuration.

#### Parameters

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

The configurator for the hover setting.

#### RETURNS

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

### MinHeight(System.Double)

Defines the minimum height the shape can have. Use this setting to apply a lower limit to the height of shapes when users resize them.

#### Parameters

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

The value for MinHeight

#### RETURNS

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

### MinWidth(System.Double)

Defines the minimum width the shape can have. Use this setting to apply a lower limit to the width of shapes when users resize them.

#### Parameters

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

The value for MinWidth

#### RETURNS

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

### Path(System.String)

The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (<https://www.w3.org/TR/SVG/paths.html#PathData> "SVG Path data.").

#### Parameters

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

The value for Path

#### RETURNS

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

### Rotation(System.Action)

Defines the rotation of the shape.

#### Parameters

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

The configurator for the rotation setting.

#### RETURNS

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

### Selectable(System.Boolean)

Specifies if Diagram shapes can be selected.

#### Parameters

##### value - `System.Boolean`

The value for Selectable

#### RETURNS

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

### Source(System.String)

The path/URL to the shape image. Applicable when the type is set to "image".

#### Parameters

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

The value for Source

#### RETURNS

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

### Stroke(System.Action)

Defines the configuration of the border around Diagram shapes.

#### Parameters

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

The configurator for the stroke setting.

#### RETURNS

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

### Type(System.String)

Specifies the type of the Shape using any of the built-in shape type. rectangle: this is the default option; circle: a circle/ellipse; image: an image or text: some text. Or common workflow shapes as: Terminator: Start and end points of the workflow.; Process: Standard processing steps or actions.; Decision: Decision points with Yes/No or True/False branches.; Document: Document creation or data output.; PredefinedProcess: Subroutines or predefined operations.; Database:Database operations or data storage.; Delay:Wait periods or time-based operations. or ManualOperation:Manual tasks requiring human intervention..

#### Parameters

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

The value for Type

#### RETURNS

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

### Visual(System.String)

A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.

#### Parameters

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

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Visual(System.Func)

A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

### Width(System.Double)

Defines the default width of shapes in the Diagram.

#### Parameters

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

The value for Width

#### RETURNS

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

### X(System.Double)

Defines the x-coordinate of shapes added to the Diagram.

#### Parameters

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

The value for X

#### RETURNS

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

### Y(System.Double)

Defines the y-coordinate of shapes added to the Diagram.

#### Parameters

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

The value for Y

#### RETURNS

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

### CornerRadius(System.Double)

Defines the corner radius of the shape.

#### Parameters

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

The value for CornerRadius

#### RETURNS

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

### Center(System.Action)

Defines the center position of the shape. Applicable for the circle shape.

#### Parameters

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

The configurator for the center setting.

#### RETURNS

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

### Radius(System.Double)

Defines the radius of the shape. Applicable for the circle shape.

#### Parameters

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

The value for Radius

#### RETURNS

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

### Accessibility(System.Action)

Defines accessibility options for shapes.

#### Parameters

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

The configurator for the accessibility setting.

#### RETURNS

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