TerminalCanvas

Class
Namespace: RazorConsole.Core.Layout
Assembly: RazorConsole.Core

Definition

public sealed class TerminalCanvas

Constructors

1
NameTypeDescription
TerminalCanvas(int, int)()Constructor—

Properties

3
NameTypeDescription
Appearance
HeightInt32—
WidthInt32—
Other
this[int, int]()TerminalCell—

Methods

9
NameTypeDescription
ApplyBackground(LayoutRect, Color, Color?)()MethodSets the background of rect, and with foreground its text color too.
Clear()Method—
Fill(LayoutRect, char, Style?)()Method—
IsVisible(LayoutRect)()BooleanReturns whether any part of rect is inside the current clip and the canvas.
PushClip(LayoutRect)()IDisposable—
ToRenderable()IRenderable—
Write(int, int, string?, Style?, string?)()Method—
Write(int, int, string?, int?, Style?, string?)()Method—
WriteSegments(int, int, IEnumerable<Segment>, int?)()Method—