Layout

Term.layout.PaddingMethod
Padding(text::AbstractString, target_width::Int, method::Symbol)::Padding

Create Padding for a string given a justification method ∈ (:left, :center, :right).

source
Term.layout.hLineMethod
hLine(text::AbstractString; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)

Construct an hLine as wide as the stdout with centered text.

source
Term.layout.hLineMethod
hLine(width::Number, text::String; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)

Creates an hLine object with texte centered horizontally.

source
Term.layout.hLineMethod
hLine(width::Number, style::Union{String, Nothing}; box::Symbol=:ROUNDED)

Create a styled hLine of given width.

source
Term.layout.hLineMethod
hLine(; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)

Construct an hLine as wide as the stdout

source
Term.layout.vLineMethod
vLine(height::Number, style::Union{String, Nothing}; box::Symbol=:ROUNDED)

Create a vLine given a height and, optionally, style information.

source
Term.layout.vLineMethod
vLine(; style::Union{String, Nothing}=nothing, box::Symbol=:ROUNDED)

Create a vLine as tall as the stdout console

source
Term.layout.hstackMethod
hstack(r1::RenderablesUnion, r2::RenderablesUnion)

Horizontally stack two renderables to give a new renderable.

source
Term.layout.vstackMethod
vstack(r1::RenderablesUnion, r2::RenderablesUnion)

Vertically stack two renderables to give a new renderable.

source