Border configures the Radar to have a border of the specified style. Optionally accepts cell options to style the border (e.g. color).
(ls linestyle.LineStyle, cOpts ...cell.Option)
| 300 | // Border configures the Radar to have a border of the specified style. |
| 301 | // Optionally accepts cell options to style the border (e.g. color). |
| 302 | func Border(ls linestyle.LineStyle, cOpts ...cell.Option) Option { |
| 303 | return option(func(o *options) { |
| 304 | o.border = ls |
| 305 | o.borderCellOpts = cOpts |
| 306 | }) |
| 307 | } |
| 308 | |
| 309 | // BorderTitle sets a text title displayed within the border. |
| 310 | // Has no effect if no border style is configured. |
no test coverage detected