table-layout-1.0.0.0: Format tabular data as grid or table.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Layout.Table.LineStyle

Synopsis

Line Styling

data LineStyle Source #

The line styles supported by the Unicode Box-Drawing block.

Constructors

NoLine

No lines in both orientations.

SingleLine

and .

HeavyLine

and .

DoubleLine

and .

DashLine

and .

HeavyDashLine

and .

Dash4Line

and .

HeavyDash4Line

and .

Dash2Line

and .

HeavyDash2Line

and .

Instances

Instances details
Default LineStyle Source # 
Instance details

Defined in Text.Layout.Table.LineStyle

Methods

def :: LineStyle

Eq LineStyle Source # 
Instance details

Defined in Text.Layout.Table.LineStyle

Methods

(==) :: LineStyle -> LineStyle -> Bool

(/=) :: LineStyle -> LineStyle -> Bool

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.

unicodeJoinString4 Source #

Arguments

:: LineStyle

LineStyle of the line coming from the west.

-> LineStyle

LineStyle of the line coming from the east.

-> LineStyle

LineStyle of the line coming from the north.

-> LineStyle

LineStyle of the line coming from the south.

-> String 

Unicode interior joins, allowing the lines to change when passing through the vertex.