Skip to content
ConsoleMonster
Struct

TextCell

ConsoleMonster.Text

Namespace
ConsoleMonster.Text
Assembly
ConsoleMonster
Base
ValueType
Modifiers
sealed

One user-perceived character (a base code point plus any zero-width combining marks) and the number of terminal cells it occupies (1 or 2).

Inheritance

  • ValueType
  • TextCell

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Constructors

public TextCell(string glyph, int width) #

Creates a text cell.

Parameters

glyph string required
The grapheme text.
width int required
Cell width, 1 or 2.

Properties

public string Glyph { get; } #

The grapheme text.

public int Width { get; } #

Cell width, 1 or 2.