Defines the fluent API for configuring DiagramShapeCenterSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
Initializes a new instance of the DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> class.
public DiagramShapeCenterSettingsBuilder(DiagramShapeCenterSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeCenterSettings<TShapeModel, TConnectionModel>
Alias for the DiagramShapeCenterSettings instance.
protected DiagramShapeCenterSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
The x-coordinate of the shape center.
public DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> X(double value)
The value for X
Returns:DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> instance.
The y-coordinate of the shape center.
public DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> Y(double value)
The value for Y
Returns:DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> instance.