Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text.Layout.Table.LineStyle
Synopsis
- data LineStyle
- makeLineBold :: LineStyle -> LineStyle
- makeLineLight :: LineStyle -> LineStyle
- makeLineDashed :: LineStyle -> LineStyle
- makeLineSolid :: LineStyle -> LineStyle
- asciiHorizontal :: LineStyle -> String
- asciiVertical :: LineStyle -> String
- asciiJoinString :: LineStyle -> LineStyle -> String
- asciiJoinString4 :: LineStyle -> LineStyle -> LineStyle -> LineStyle -> String
- roundedAsciiJoinString :: LineStyle -> LineStyle -> String
- roundedAsciiJoinString4 :: LineStyle -> LineStyle -> LineStyle -> LineStyle -> String
- unicodeHorizontal :: LineStyle -> String
- unicodeVertical :: LineStyle -> String
- unicodeJoinString :: LineStyle -> LineStyle -> String
- unicodeJoinString4 :: LineStyle -> LineStyle -> LineStyle -> LineStyle -> String
Line Styling
The line styles supported by the Unicode Box-Drawing block.
Constructors
NoLine | No lines in both orientations. |
SingleLine |
|
HeavyLine |
|
DoubleLine |
|
DashLine |
|
HeavyDashLine |
|
Dash4Line |
|
HeavyDash4Line |
|
Dash2Line |
|
HeavyDash2Line |
|
ASCII Lines and Joins
asciiHorizontal :: LineStyle -> String Source #
ASCII representations for horizontal lines.
asciiVertical :: LineStyle -> String Source #
ASCII representations for vertical lines.
asciiJoinString :: LineStyle -> LineStyle -> String Source #
ASCII representations for joins using pluses.
asciiJoinString4 :: LineStyle -> LineStyle -> LineStyle -> LineStyle -> String Source #
ASCII interior joins, allowing the lines to change when passing through the vertex. Uses pluses for joins. The argument order is west, east, north, then south.
roundedAsciiJoinString :: LineStyle -> LineStyle -> String Source #
ASCII representations for joins using rounded joins.
roundedAsciiJoinString4 :: LineStyle -> LineStyle -> LineStyle -> LineStyle -> String Source #
ASCII interior joins, allowing the lines to change when passing through the vertex. Uses rounded joins. The argument order is west, east, north, then south.
Unicode Lines and Joins
unicodeHorizontal :: LineStyle -> String Source #
Unicode representations for horizontal lines.
unicodeVertical :: LineStyle -> String Source #
Unicode representations for vertical lines.
unicodeJoinString :: LineStyle -> LineStyle -> String Source #
Unicode interior joins, specifying the horizontal and vertical lines.
Arguments
:: LineStyle |
|
-> LineStyle |
|
-> LineStyle |
|
-> LineStyle |
|
-> String |
Unicode interior joins, allowing the lines to change when passing through the vertex.