MCPcopy
hub / github.com/mum4k/termdash / BorderLineStyle

Function BorderLineStyle

private/draw/border.go:78–82  ·  view source on GitHub ↗

BorderLineStyle sets the style of the line used to draw the border.

(ls linestyle.LineStyle)

Source from the content-addressed store, hash-verified

76
77// BorderLineStyle sets the style of the line used to draw the border.
78func BorderLineStyle(ls linestyle.LineStyle) BorderOption {
79 return borderOption(func(bOpts *borderOptions) {
80 bOpts.lineStyle = ls
81 })
82}
83
84// BorderCellOpts sets options on the cells that create the border.
85func BorderCellOpts(opts ...cell.Option) BorderOption {

Callers 9

drawBorderFunction · 0.92
TestDrawWidgetFunction · 0.92
TestBuilderFunction · 0.92
DrawMethod · 0.92
DrawMethod · 0.92
drawItemMethod · 0.92
drawTooltipMethod · 0.92
DrawMethod · 0.92
TestBorderFunction · 0.85

Calls 1

borderOptionFuncType · 0.85

Tested by 3

TestDrawWidgetFunction · 0.74
TestBuilderFunction · 0.74
TestBorderFunction · 0.68