Class ResizeController
Represents the class that helps to scale the selected objects.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class ResizeController : InteractionControllerBase
Constructors
ResizeController(SfDiagramComponent, DiagramElementAction)
Initializes a new instance of the ResizeController class.
Declaration
public ResizeController(SfDiagramComponent diagram, DiagramElementAction corner)
Parameters
Type | Name | Description |
---|---|---|
SfDiagramComponent | diagram | It provides sfdiagramcomponent |
DiagramElementAction | corner | It provides diagram element action |
Methods
OnMouseDown(DiagramMouseEventArgs)
This method triggers when a mouse down event that occurs while the user down`s the cursor over a selector resize handles.
Declaration
public override void OnMouseDown(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Overrides
OnMouseLeave(DiagramMouseEventArgs)
This method triggers when a mouse leave event that occurs while the user leaves a selector resize handles.
Declaration
public override void OnMouseLeave(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Overrides
OnMouseMove(DiagramMouseEventArgs)
This method triggers when a mouse move event that occurs while the use’sr mouse moves over a selector resize handles.
Declaration
public override bool OnMouseMove(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |
Returns
Type | Description |
---|---|
System.Boolean | Blocked |
Overrides
OnMouseUp(DiagramMouseEventArgs)
This method triggers when an mouse up event that occurs while the user releases over a selector resize handles.
Declaration
public override void OnMouseUp(DiagramMouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
DiagramMouseEventArgs | args | DiagramMouseEventArgs |