io.sureshg.extn / Glyph

Glyph

object Glyph

Glyph object provides Unicode glyphs as well as it's plain ASCII alternatives. All ASCII glyphs are guaranteed to be the same number of characters as the corresponding Unicode glyphs, so that they line up properly when printed on a terminal. The orginal data file is taken from "Dart term_glyph" project.

Author
Suresh

See Also

https

Properties

ascii

var ascii: Boolean

Whether the glyph return plain ASCII, as opposed to Unicode characters. Defaults to false.

bottomLeftCorner

val bottomLeftCorner: String
  1. The lower left-hand corner of a box.

bottomLeftCornerBold

val bottomLeftCornerBold: String
  1. The bold lower left-hand corner of a box.

bottomLeftCornerDouble

val bottomLeftCornerDouble: String
  1. The double lower left-hand corner of a box.

bottomRightCorner

val bottomRightCorner: String
  1. The lower right-hand corner of a box.

bottomRightCornerBold

val bottomRightCornerBold: String
  1. The bold lower right-hand corner of a box.

bottomRightCornerDouble

val bottomRightCornerDouble: String
  1. The double lower right-hand corner of a box.

bullet

val bullet: String
  1. A bullet point.

cross

val cross: String
  1. An intersection of vertical and horizontal box lines.

crossBold

val crossBold: String
  1. An intersection of bold vertical and horizontal box lines.

crossDouble

val crossDouble: String
  1. An intersection of double vertical and horizontal box lines.

downArrow

val downArrow: String
  1. A downwards-pointing arrow.

downEnd

val downEnd: String
  1. The bottom half of a vertical box line.

downEndBold

val downEndBold: String
  1. The bottom half of a bold vertical box line.

horizontalLine

val horizontalLine: String
  1. A horizontal line that can be used to draw a box.

horizontalLineBold

val horizontalLineBold: String
  1. A bold horizontal line that can be used to draw a box.

horizontalLineDouble

val horizontalLineDouble: String
  1. A double horizontal line that can be used to draw a box.

horizontalLineDoubleDash

val horizontalLineDoubleDash: String
  1. A dashed horizontal line that can be used to draw a box.

horizontalLineDoubleDashBold

val horizontalLineDoubleDashBold: String
  1. A bold dashed horizontal line that can be used to draw a box.

horizontalLineQuadrupleDash

val horizontalLineQuadrupleDash: String
  1. A dashed horizontal line that can be used to draw a box.

horizontalLineQuadrupleDashBold

val horizontalLineQuadrupleDashBold: String
  1. A bold dashed horizontal line that can be used to draw a box.

horizontalLineTripleDash

val horizontalLineTripleDash: String
  1. A dashed horizontal line that can be used to draw a box.

horizontalLineTripleDashBold

val horizontalLineTripleDashBold: String
  1. A bold dashed horizontal line that can be used to draw a box.

leftArrow

val leftArrow: String
  1. A left-pointing arrow.

leftEnd

val leftEnd: String
  1. The left half of a horizontal box line.

leftEndBold

val leftEndBold: String
  1. The left half of a bold horizontal box line.

longLeftArrow

val longLeftArrow: String
  1. A two-character left-pointing arrow.

longRightArrow

val longRightArrow: String
  1. A two-character right-pointing arrow.

rightArrow

val rightArrow: String
  1. A right-pointing arrow.

rightEnd

val rightEnd: String
  1. The right half of a horizontal box line.

rightEndBold

val rightEndBold: String
  1. The right half of a bold horizontal box line.

teeDown

val teeDown: String
  1. A horizontal box line with a vertical line going down from the middle.

teeDownBold

val teeDownBold: String
  1. A bold horizontal box line with a vertical line going down from the middle.

teeDownDouble

val teeDownDouble: String
  1. A double horizontal box line with a vertical line going down from the middle.

teeLeft

val teeLeft: String
  1. A vertical box line with a horizontal line going left from the middle.

teeLeftBold

val teeLeftBold: String
  1. A bold vertical box line with a horizontal line going left from the middle.

teeLeftDouble

val teeLeftDouble: String
  1. A double vertical box line with a horizontal line going left from the middle.

teeRight

val teeRight: String
  1. A vertical box line with a horizontal line going right from the middle.

teeRightBold

val teeRightBold: String
  1. A bold vertical box line with a horizontal line going right from the middle.

teeRightDouble

val teeRightDouble: String
  1. A double vertical box line with a horizontal line going right from the middle.

teeUp

val teeUp: String
  1. A horizontal box line with a vertical line going up from the middle.

teeUpBold

val teeUpBold: String
  1. A bold horizontal box line with a vertical line going up from the middle.

teeUpDouble

val teeUpDouble: String
  1. A double horizontal box line with a vertical line going up from the middle.

topLeftCorner

val topLeftCorner: String
  1. The upper left-hand corner of a box.

topLeftCornerBold

val topLeftCornerBold: String
  1. The bold upper left-hand corner of a box.

topLeftCornerDouble

val topLeftCornerDouble: String
  1. The double upper left-hand corner of a box.

topRightCorner

val topRightCorner: String
  1. The upper right-hand corner of a box.

topRightCornerBold

val topRightCornerBold: String
  1. The bold upper right-hand corner of a box.

topRightCornerDouble

val topRightCornerDouble: String
  1. The double upper right-hand corner of a box.

upArrow

val upArrow: String
  1. An upwards-pointing arrow.

upEnd

val upEnd: String
  1. The top half of a vertical box line.

upEndBold

val upEndBold: String
  1. The top half of a bold vertical box line.

verticalLine

val verticalLine: String
  1. A vertical line that can be used to draw a box.

verticalLineBold

val verticalLineBold: String
  1. A bold vertical line that can be used to draw a box.

verticalLineDouble

val verticalLineDouble: String
  1. A double vertical line that can be used to draw a box.

verticalLineDoubleDash

val verticalLineDoubleDash: String
  1. A dashed vertical line that can be used to draw a box.

verticalLineDoubleDashBold

val verticalLineDoubleDashBold: String
  1. A bold dashed vertical line that can be used to draw a box.

verticalLineQuadrupleDash

val verticalLineQuadrupleDash: String
  1. A dashed vertical line that can be used to draw a box.

verticalLineQuadrupleDashBold

val verticalLineQuadrupleDashBold: String
  1. A bold dashed vertical line that can be used to draw a box.

verticalLineTripleDash

val verticalLineTripleDash: String
  1. A dashed vertical line that can be used to draw a box.

verticalLineTripleDashBold

val verticalLineTripleDashBold: String
  1. A bold dashed vertical line that can be used to draw a box.

Extension Properties

p

val Any?.p: Unit

Prints the Any.toString to console.