Skip to content
ConsoleMonster
Class

BoxGlyphs

ConsoleMonster.Glyphs

Namespace
ConsoleMonster.Glyphs
Assembly
ConsoleMonster
Modifiers
sealed

The characters that draw one border style.

Inheritance

  • object
  • BoxGlyphs

Usage

Explore 2 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 2

Constructors

public BoxGlyphs(BoxStyle style, string chars) #

Creates a border glyph set from an 11-character string.

Parameters

style ConsoleMonster.Glyphs.BoxStyle required
The style these glyphs draw.
chars string required
Exactly 11 characters in this order: top-left, horizontal, top-right, vertical, bottom-left, bottom-right, left joint (├), right joint (┤), top joint (┬), bottom joint (┴), cross (┼).

Properties

public BoxStyle Style { get; } #

The style actually drawn (after tier fallback).

public string TopLeft { get; } #

Top-left corner.

public string Horizontal { get; } #

Horizontal edge.

public string TopRight { get; } #

Top-right corner.

public string Vertical { get; } #

Vertical edge.

public string BottomLeft { get; } #

Bottom-left corner.

public string BottomRight { get; } #

Bottom-right corner.

public string LeftJoint { get; } #

Joint on the left edge (├).

public string RightJoint { get; } #

Joint on the right edge (┤).

public string TopJoint { get; } #

Joint on the top edge (┬).

public string BottomJoint { get; } #

Joint on the bottom edge (┴).

public string Cross { get; } #

Inner cross (┼).

public bool IsInvisible { get; } #

Whether the border is invisible (BoxStyle.None).