NAME
Text::ANSITable::BorderStyle::Default - Default border styles
VERSION
This document describes version 0.500 of Text::ANSITable::BorderStyle::Default (from Perl distribution Text-ANSITable), released on 2018-05-31.
BORDER STYLES
Below are the border styles included in this package:
Default::bold
Bold (utf8: yes, box_chars: no).
┏━━━━━━━━━┳━━━━━━━━━┓
┃ column1 ┃ column2 ┃
┣━━━━━━━━━╋━━━━━━━━━┫
┃ row1.1 ┃ row1.2 ┃
┃ row2.1 ┃ row3.2 ┃
┣━━━━━━━━━╋━━━━━━━━━┫
┃ row3.1 ┃ row3.2 ┃
┗━━━━━━━━━┻━━━━━━━━━┛
Default::brick
Single, bold on bottom right to give illusion of depth (utf8: yes, box_chars: no).
┌─────────┬─────────┒
│ column1 │ column2 ┃
├─────────┼─────────┨
│ row1.1 │ row1.2 ┃
│ row2.1 │ row3.2 ┃
├─────────┼─────────┨
│ row3.1 │ row3.2 ┃
┕━━━━━━━━━┷━━━━━━━━━┛
Default::bricko
Single, outer only, bold on bottom right to give illusion of depth (utf8: yes, box_chars: no).
┌───────────────────┒
│ column1 column2 ┃
│ ┃
│ row1.1 row1.2 ┃
│ row2.1 row3.2 ┃
├───────────────────┨
│ row3.1 row3.2 ┃
┕━━━━━━━━━━━━━━━━━━━┛
Default::csingle
Curved single (utf8: yes, box_chars: no).
╭─────────┬─────────╮
│ column1 │ column2 │
├─────────┼─────────┤
│ row1.1 │ row1.2 │
│ row2.1 │ row3.2 │
├─────────┼─────────┤
│ row3.1 │ row3.2 │
╰─────────┴─────────╯
Default::double
Double (utf8: yes, box_chars: no).
╔═════════╦═════════╗
║ column1 ║ column2 ║
╠═════════╬═════════╣
║ row1.1 ║ row1.2 ║
║ row2.1 ║ row3.2 ║
╠═════════╬═════════╣
║ row3.1 ║ row3.2 ║
╚═════════╩═════════╝
Default::none_ascii
No border (utf8: no, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
-------------------
row3.1 row3.2
Default::none_boxchar
No border (utf8: no, box_chars: yes).
Default::none_utf8
No border (utf8: yes, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
───────────────────
row3.1 row3.2
Default::single_ascii
Single (utf8: no, box_chars: no).
.---------+---------.
| column1 | column2 |
+---------+---------+
| row1.1 | row1.2 |
| row2.1 | row3.2 |
+---------+---------+
| row3.1 | row3.2 |
`---------+---------'
Default::single_boxchar
Single (utf8: no, box_chars: yes).
Default::single_utf8
Single (utf8: yes, box_chars: no).
┌─────────┬─────────┐
│ column1 │ column2 │
├─────────┼─────────┤
│ row1.1 │ row1.2 │
│ row2.1 │ row3.2 │
├─────────┼─────────┤
│ row3.1 │ row3.2 │
└─────────┴─────────┘
Default::singleh_ascii
Single, horizontal only (utf8: no, box_chars: no).
---------------------
column1 column2
---------------------
row1.1 row1.2
row2.1 row3.2
---------------------
row3.1 row3.2
---------------------
Default::singleh_boxchar
Single, horizontal only (utf8: no, box_chars: yes).
Default::singleh_utf8
Single, horizontal only (utf8: yes, box_chars: no).
─────────────────────
column1 column2
─────────────────────
row1.1 row1.2
row2.1 row3.2
─────────────────────
row3.1 row3.2
─────────────────────
Default::singlei_ascii
Single, inner only (like in psql command-line client) (utf8: no, box_chars: no).
column1 | column2
---------+---------
row1.1 | row1.2
row2.1 | row3.2
---------+---------
row3.1 | row3.2
Default::singlei_boxchar
Single, inner only (like in psql command-line client) (utf8: no, box_chars: yes).
Default::singlei_utf8
Single, inner only (like in psql command-line client) (utf8: yes, box_chars: no).
column1 │ column2
─────────┼─────────
row1.1 │ row1.2
row2.1 │ row3.2
─────────┼─────────
row3.1 │ row3.2
Default::singleo_ascii
Single, outer only (utf8: no, box_chars: no).
.-------------------.
| column1 column2 |
| |
| row1.1 row1.2 |
| row2.1 row3.2 |
+-------------------+
| row3.1 row3.2 |
`-------------------'
Default::singleo_boxchar
Single, outer only (utf8: no, box_chars: yes).
Default::singleo_utf8
Single, outer only (utf8: yes, box_chars: no).
┌───────────────────┐
│ column1 column2 │
│ │
│ row1.1 row1.2 │
│ row2.1 row3.2 │
├───────────────────┤
│ row3.1 row3.2 │
└───────────────────┘
Default::singlev_ascii
Single border, only vertical (utf8: no, box_chars: no).
| | |
| column1 | column2 |
| | |
| row1.1 | row1.2 |
| row2.1 | row3.2 |
|---------|---------|
| row3.1 | row3.2 |
| | |
Default::singlev_boxchar
Single, vertical only (utf8: no, box_chars: yes).
Default::singlev_utf8
Single, vertical only (utf8: yes, box_chars: no).
│ │ │
│ column1 │ column2 │
│ │ │
│ row1.1 │ row1.2 │
│ row2.1 │ row3.2 │
│─────────│─────────│
│ row3.1 │ row3.2 │
│ │ │
Default::space_ascii
Space as border (utf8: no, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
-------------------
row3.1 row3.2
Default::space_boxchar
Space as border (utf8: no, box_chars: yes).
Default::space_utf8
Space as border (utf8: yes, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
───────────────────
row3.1 row3.2
Default::spacei_ascii
Space, inner-only (utf8: no, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
-------------------
row3.1 row3.2
Default::spacei_boxchar
Space, inner-only (utf8: no, box_chars: yes).
Default::spacei_utf8
Space, inner-only (utf8: yes, box_chars: no).
column1 column2
row1.1 row1.2
row2.1 row3.2
───────────────────
row3.1 row3.2
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Text-ANSITable.
SOURCE
Source repository is at https://github.com/perlancar/perl-Text-ANSITable.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Text-ANSITable
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018, 2017, 2016, 2015, 2014, 2013 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.