Kendo.Mvc.UI.DiagramShapeDefaultsSettings

Kendo UI DiagramShapeDefaultsSettings class

Properties

Connectors

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.

ConnectorDefaults

Defines the default options for the shape connectors.

Content

Defines the default shapes content settings.

Editable

Defines the shape editable options.

Fill

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.

Height

Defines the default height of shapes in the Diagram.

Hover

Defines the hover configuration.

MinHeight

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.

MinWidth

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.

Path

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

Rotation

Defines the rotation of the shape.

Selectable

Specifies if Diagram shapes can be selected.

Source

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

Stroke

Defines the configuration of the border around Diagram shapes.

Type

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.

Visual

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.

Width

Defines the default width of shapes in the Diagram.

X

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

Y

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

Methods

Serialize

Serialize current instance to Dictionary

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?