New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Web.UI.Diagram.ShapeDefaults

Defines the shape options.

Inheritance Hierarchy

  • System.Object
  • Telerik.Web.StateManager : IMarkableStateManager, IStateManager
  • Telerik.Web.UI.Diagram.ShapeDefaults : IDefaultCheck

Properties

ConnectorDefaultsSettings ConnectorDefaults

Defines default options for the shape connectors.

ConnectorsCollection DiagramShapeConnectorsCollection

Defines the connectors the shape owns.You can define your own custom connectors or use the predefined types.

ContentSettings Content

Defines the shapes content settings.

Editable Boolean

Specifies editable properties for shapes

EditableSettings Boolean

Specifies editable properties for shapes

Fill String

Defines the fill options of the shape.

FillSettings String

Defines the default fill options of the shape.

Height Double

Defines the height of the shape when added to the diagram.

HoverSettings ShapeHover

Defines the hover configuration.

MinHeight Double

Defines the minimum height the shape should have, i.e. it cannot be resized to a value smaller than the given one.

MinWidth Double

Defines the minimum width the shape should have, i.e. it cannot be resized to a value smaller than the given one.

Path String

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.").

RotationSettings ShapeRotation

Defines the rotation of the shapes.

Selectable Boolean

Specifies if the shape can be selected.

Source String

The source of the shape image. Applicable when the type is set to "image".

StrokeSettings ShapeStroke

Defines the stroke configuration.

Type String

Specifies the type of the Shape using any of the built-in shape type.

Visual String

A function returning a visual element to render for a given shape. The following primitives can be used to construct a composite visual:

Width Double

Defines the width of the shape when added to the diagram.

X Double

Defines the x-coordinate of the shape when added to the diagram.

Y Double

Defines the y-coordinate of the shape when added to the diagram.