Raxol.Style.Borders (Raxol v0.5.0)

View Source

Defines border properties for terminal UI elements.

Summary

Functions

Merges two border structs, with the second overriding the first.

Creates a new border with default values.

Creates a new border with the specified values.

Types

t()

@type t() :: %Raxol.Style.Borders{
  color: Color.t(),
  radius: integer(),
  style: :none | :solid | :double | :dashed | :dotted,
  width: integer()
}

Functions

merge(base, override)

Merges two border structs, with the second overriding the first.

new()

Creates a new border with default values.

new(attrs)

Creates a new border with the specified values.