Skip to content
ConsoleMonster

API Reference

Struct

TextCell

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, Int32 width) #

Creates a text cell.

Parameters

glyph System.String requiredposition: 0
The grapheme text.
width System.Int32 requiredposition: 1
Cell width, 1 or 2.

Properties

public String Glyph { get; } #

The grapheme text.

public Int32 Width { get; } #

Cell width, 1 or 2.