Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DiagramShapeDefaultsSettings : JsonObject
Inheritance: objectJsonObjectDiagramShapeDefaultsSettings
Inherited Members
Constructors
public DiagramShapeDefaultsSettings()
Properties
Defines accessibility options for shapes.
public DiagramShapeDefaultsAccessibilitySettings Accessibility { get; set; }
Defines the center position of the shape. Applicable for the circle shape.
public DiagramShapeDefaultsCenterSettings Center { get; set; }
Defines the default options for the shape connectors.
public DiagramShapeDefaultsConnectorDefaultsSettings ConnectorDefaults { get; set; }
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.
public List<DiagramShapeDefaultsSettingsConnector> Connectors { get; set; }
Defines the default shapes content settings.
public DiagramShapeDefaultsContentSettings Content { get; set; }
Defines the corner radius of the shape.
public double? CornerRadius { get; set; }
Defines the shape editable options.
public DiagramShapeDefaultsEditableSettings Editable { get; set; }
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.
public DiagramShapeDefaultsFillSettings Fill { get; set; }
Defines the default height of shapes in the Diagram.
public double? Height { get; set; }
Defines the hover configuration.
public DiagramShapeDefaultsHoverSettings Hover { get; set; }
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.
public double? MinHeight { get; set; }
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.
public double? MinWidth { get; set; }
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.").
public string Path { get; set; }
Defines the radius of the shape. Applicable for the circle shape.
public double? Radius { get; set; }
Defines the rotation of the shape.
public DiagramShapeDefaultsRotationSettings Rotation { get; set; }
Specifies if Diagram shapes can be selected.
public bool? Selectable { get; set; }
The path/URL to the shape image. Applicable when the type is set to "image".
public string Source { get; set; }
Defines the configuration of the border around Diagram shapes.
public DiagramShapeDefaultsStrokeSettings Stroke { get; set; }
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..
public string Type { get; set; }
public ClientHandlerDescriptor Visual { get; set; }
Defines the default width of shapes in the Diagram.
public double? Width { get; set; }
Methods
protected override void Serialize(IDictionary<string, object> json)
Overrides: