Raxol. Core. Renderer. View. Style. Border
(Raxol v2.6.0)
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 (:single, :double, :rounded, :bold, :dashed):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")