borderStyle property

BorderStyle borderStyle
getter/setter pair

Which line drawing characters are used to display boxes.

Options available:

  • ascii: use simple ASCII characters. Suitable for a very limited terminal environment: ------
  • bold: use bold line drawing characters: ┗━━━━┛
  • double: use double border characters: ╚════╝
  • none: do not draw any borders
  • rounded: regular thickness borders with rounded corners: ╰────╯
  • square: regular thickness borders that have sharp corners: └────┘

The default is to draw rounded borders.

Implementation

BorderStyle borderStyle = BorderStyle.rounded;