Class ResizingShapeState
State for resizing a shape element via drag handles.
public class ResizingShapeState : InputStateBase, IInputState
- Inheritance
-
ResizingShapeState
- Implements
- Inherited Members
Constructors
ResizingShapeState(ShapeElement, ResizeHandlePosition, Point, FlowCanvasSettings, ViewportState)
public ResizingShapeState(ShapeElement shape, ResizeHandlePosition handlePosition, Point startPoint, FlowCanvasSettings settings, ViewportState viewport)
Parameters
shapeShapeElementhandlePositionResizeHandlePositionstartPointPointsettingsFlowCanvasSettingsviewportViewportState
Properties
Name
Gets the name of this state for debugging.
public override string Name { get; }
Property Value
Methods
HandleKeyDown(InputStateContext, KeyEventArgs)
Handles key down events.
public override StateTransitionResult HandleKeyDown(InputStateContext context, KeyEventArgs e)
Parameters
contextInputStateContexteKeyEventArgs
Returns
HandlePointerMoved(InputStateContext, PointerEventArgs)
Handles pointer moved events.
public override StateTransitionResult HandlePointerMoved(InputStateContext context, PointerEventArgs e)
Parameters
contextInputStateContextePointerEventArgs
Returns
HandlePointerReleased(InputStateContext, PointerReleasedEventArgs)
Handles pointer released events.
public override StateTransitionResult HandlePointerReleased(InputStateContext context, PointerReleasedEventArgs e)
Parameters
contextInputStateContextePointerReleasedEventArgs