View Source BackBreeze.Border (BackBreeze v0.2.1)
Helper functions for generating borders.
Summary
Functions
Set the bottom border glyph.
Return a custom border by providing the individual glyphs.
Return an invisible border.
Set the left border glyph.
Return a line border.
Return an empty border.
Render a bottom border of the specified width.
Render a left border.
Render a right border.
Render a top border of the specified width.
Set the right border glyph.
Set the top border glyph.
Functions
Set the bottom border glyph.
Return a custom border by providing the individual glyphs.
Return an invisible border.
Set the left border glyph.
Return a line border.
Return an empty border.
Render a bottom border of the specified width.
iex> BackBreeze.Border.line() |> BackBreeze.Border.render_top(10)
"┌──────────┐
"
Render a left border.
iex> BackBreeze.Border.line() |> BackBreeze.Border.render_left()
"│"
Render a right border.
iex> BackBreeze.Border.line() |> BackBreeze.Border.render_right()
"│"
Render a top border of the specified width.
iex> BackBreeze.Border.line() |> BackBreeze.Border.render_top(10)
"┌──────────┐
"
Set the right border glyph.
Set the top border glyph.