Class ResizeState
- Namespace
- SharpConsoleUI.Core
- Assembly
- SharpConsoleUI.dll
State of an active resize operation
public record ResizeState : IEquatable<ResizeState>
- Inheritance
-
ResizeState
- Implements
- Inherited Members
Constructors
ResizeState(Window, ResizeDirection, Point, Size, Point)
State of an active resize operation
public ResizeState(Window Window, ResizeDirection Direction, Point StartMousePos, Size StartWindowSize, Point StartWindowPos)
Parameters
WindowWindowWindow being resized
DirectionResizeDirectionDirection of the resize
StartMousePosPointMouse position when resize started
StartWindowSizeSizeWindow size when resize started
StartWindowPosPointWindow position when resize started
Properties
Direction
Direction of the resize
public ResizeDirection Direction { get; init; }
Property Value
StartMousePos
Mouse position when resize started
public Point StartMousePos { get; init; }
Property Value
StartWindowPos
Window position when resize started
public Point StartWindowPos { get; init; }
Property Value
StartWindowSize
Window size when resize started
public Size StartWindowSize { get; init; }
Property Value
Window
Window being resized
public Window Window { get; init; }