Class CanvasPaintEventArgs
- Namespace
- SharpConsoleUI.Events
- Assembly
- SharpConsoleUI.dll
Event arguments for the Paint event, carrying a CanvasGraphics context that draws to the window buffer.
public sealed class CanvasPaintEventArgs : EventArgs
- Inheritance
-
CanvasPaintEventArgs
- Inherited Members
- Extension Methods
Properties
CanvasHeight
The current height of the canvas in characters.
public int CanvasHeight { get; }
Property Value
CanvasWidth
The current width of the canvas in characters.
public int CanvasWidth { get; }
Property Value
Graphics
The drawing context for rendering onto the canvas during the paint event.
public CanvasGraphics Graphics { get; }