Raxol. Core. Renderer. View. Style. Border
(Raxol v2.9.2)
View Source
Handles border rendering for the Raxol view system. Provides various border styles and rendering functionality.
Summary
Functions
Renders a border around a view with the given style and dimensions.
Creates a border around a view.
Functions
Renders a border around a view with the given style and dimensions.
Creates a border around a view.
Options
:style- Border style, anyRaxol.UI.Theming.BorderCharsset (:single, :double, :rounded, :heavy or :bold (┏━┓), :dashed, :dashed_fine, :block (solid█), :ascii, :none) or :simple, which draws as :single:padding- Space between the border and the view (default 0):title- Optional title to display in the border:fg- Foreground color:bg- Background color
Examples
Border.wrap(view, style: :single)
Border.wrap(view, style: :double, title: "Title")