Block

io.worxbend.tui.core.Symbols.Block
object Block

The block elements: partial fills of a cell, used wherever a bar has to land between two whole columns or rows.

The two eighth ladders below are the same eight fractions drawn in different directions, and they are separate values because the direction is not interchangeable: a vertical bar grows from the bottom of the cell upward, a horizontal one from the left edge rightward, and using one where the other belongs draws a bar that fills the wrong way.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Block.type

Members list

Value members

Concrete fields

val Full: String

█, a completely filled cell.

█, a completely filled cell.

Attributes

val HorizontalEighths: Vector[String]

The eight rightward-growing fills, ▏ (one eighth) through █ (the whole cell).

The eight rightward-growing fills, ▏ (one eighth) through █ (the whole cell).

Attributes

val HorizontalPartials: Vector[String]

The seven partial fills growing '''rightward''' from the left edge of the cell, one eighth wider each: ▏ through ▉. HorizontalEighths is this ladder with Full on the end.

The seven partial fills growing '''rightward''' from the left edge of the cell, one eighth wider each: ▏ through ▉. HorizontalEighths is this ladder with Full on the end.

Attributes

val LeftHalf: String

▌, the left half of a cell.

▌, the left half of a cell.

Attributes

val LowerHalf: String

▄, the bottom half of a cell.

▄, the bottom half of a cell.

Attributes

val RightHalf: String

▐, the right half of a cell.

▐, the right half of a cell.

Attributes

val UpperHalf: String

▀, the top half of a cell.

▀, the top half of a cell.

Attributes

val VerticalEighths: Vector[String]

The eight upward-growing fills, ▁ (one eighth) through █ (the whole cell). VerticalEighths(n - 1) is the glyph for n eighths, which is why a column is walked from its bottom row toward its top.

The eight upward-growing fills, ▁ (one eighth) through █ (the whole cell). VerticalEighths(n - 1) is the glyph for n eighths, which is why a column is walked from its bottom row toward its top.

Attributes

val VerticalPartials: Vector[String]

The seven partial fills growing '''upward''' from the bottom of the cell, one eighth taller each: ▁ through ▇. VerticalEighths is this ladder with Full on the end.

The seven partial fills growing '''upward''' from the bottom of the cell, one eighth taller each: ▁ through ▇. VerticalEighths is this ladder with Full on the end.

Attributes