Class
DiagramShapeRotationDescriptor

Configures rotation settings and behavior for a diagram shape. Use this to control the shape's rotation angle, enable/disable rotation handles, and define rotation constraints. Allows shapes to be oriented at custom angles for flexible diagram layouts and visual representation.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class DiagramShapeRotationDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramShapeRotationDescriptor

Constructors

DiagramShapeRotationDescriptor()

Declaration

cs-api-definition
public DiagramShapeRotationDescriptor()

Properties

Angle

Sets the rotation angle of the shape in degrees. Positive values rotate clockwise, negative values rotate counter-clockwise. For example, 45 rotates the shape 45 degrees clockwise, while -90 rotates it 90 degrees counter-clockwise. The rotation is applied around the center point of the shape.

Declaration

cs-api-definition
public double? Angle { get; set; }

Property Value

double?

Methods

Serialize()

Declaration

cs-api-definition
public Dictionary<string, object> Serialize()

Returns

Dictionary<string, object>