Table of Contents

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

Window Window

Window being resized

Direction ResizeDirection

Direction of the resize

StartMousePos Point

Mouse position when resize started

StartWindowSize Size

Window size when resize started

StartWindowPos Point

Window position when resize started

Properties

Direction

Direction of the resize

public ResizeDirection Direction { get; init; }

Property Value

ResizeDirection

StartMousePos

Mouse position when resize started

public Point StartMousePos { get; init; }

Property Value

Point

StartWindowPos

Window position when resize started

public Point StartWindowPos { get; init; }

Property Value

Point

StartWindowSize

Window size when resize started

public Size StartWindowSize { get; init; }

Property Value

Size

Window

Window being resized

public Window Window { get; init; }

Property Value

Window