Class TextScreenExtensions
A set of extension methods for implementations of the ITextScreen interface.
Inherited Members
Namespace: SociallyDistant.Core.UI.Console
Assembly: SociallyDistant.Framework.dll
Syntax
public static class TextScreenExtensions
Methods
Fill(ITextScreen, char, int, int, int, int)
Fill a region of the screen with a given character.
Declaration
public static void Fill(this ITextScreen screen, char character, int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
ITextScreen | screen | The screen to fill. |
char | character | The character to fill the screen with. |
int | x | Left column of the fill rectangle. |
int | y | Top row of the fill rectangle. |
int | width | Width, in columns, of the fill rectangle. |
int | height | Height, in rows, of the fill rectangle. |