Table of Contents

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

int

CanvasWidth

The current width of the canvas in characters.

public int CanvasWidth { get; }

Property Value

int

Graphics

The drawing context for rendering onto the canvas during the paint event.

public CanvasGraphics Graphics { get; }

Property Value

CanvasGraphics