Interface IResizingService
The service supporting the scaling of diagram items and groups.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public interface IResizingService
Remarks
Note that this service can be customized and plugged into the Service
Properties
IsResizing
Gets a value indicating whether this instance is resizing.
Declaration
bool IsResizing { get; }
Property Value
System.
|
Methods
CompleteResize(Rect, Point)
Completes the resize.
Declaration
void CompleteResize(Rect finalBounds, Point mousePosition)
Parameters
System. The final bounds. |
System. The final mouse position. |
InitializeResize(IEnumerable<IDiagramItem>, Double, Rect, ResizeDirection, Point)
Initializes the resize action.
Declaration
void InitializeResize(IEnumerable<IDiagramItem> newSelectedItems, double adornerAngle, Rect adornerBounds, ResizeDirection resizingDirection, Point startPoint)
Parameters
System. The selected items. |
System. The adorner angle. |
System. The adorner bounds. |
Resize The resizing direction. |
System. The start point. |
Resize(Point)
Resizes to the new point.
Declaration
void Resize(Point newPoint)
Parameters
System. The new point. |
StartResize(Point)
Starts the resize.
Declaration
bool StartResize(Point currentPoint)
Parameters
System. The current point. |
Returns
System.
|
Events
CompleteResizing
Occurs on resizing completed.
Declaration
event EventHandler<ResizingEventArgs> CompleteResizing
Event Type
System.
|
Resizing
Occurs when resizing.
Declaration
event EventHandler<ResizingEventArgs> Resizing
Event Type
System.
|
StartResizing
Occurs on resizing start.
Declaration
event EventHandler<CancelingManipulationEventArgs> StartResizing
Event Type
System.
|