Skip to content
ConsoleMonster

API Reference

Class

BoxGlyphs

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 requiredposition: 0
The style these glyphs draw.
chars System.String requiredposition: 1
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 Boolean IsInvisible { get; } #

Whether the border is invisible (BoxStyle.None).