package
0.20.0
Repository: https://github.com/mum4k/termdash.git
Documentation: pkg.go.dev

# Packages

Package testsegment provides helpers for tests that use the segment package.

# Functions

CellOpts sets options on the cells that contain the segment.
Diagonal draws a diagonal segment of the specified width filling the area.
DiagonalCellOpts sets options on the cells that contain the diagonal segment.
HV draws a horizontal or a vertical display segment, filling the provided area.
ReverseSlopes if provided reverses the order in which slopes are drawn.
SkipSlopesLTE if provided instructs HV to not create slopes at the ends of a segment if the height of the horizontal or the width of the vertical segment is less or equal to the provided value.

# Constants

Horizontal is a horizontal segment.
LeftToRight is a diagonal segment from top left to bottom right.
RightToLeft is a diagonal segment from top right to bottom left.
Vertical is a vertical segment.

# Interfaces

DiagonalOption is used to provide options.
Option is used to provide options.

# Type aliases

DiagonalType determines the type of diagonal segment.
Type identifies the type of the segment that is drawn.