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

# Functions

ExcludeBorder returns a new area created by subtracting a border around the provided area.
FromSize returns the corresponding area for the provided size.
HSplit returns two new areas created by splitting the provided area at the specified percentage of its height, applying the percentage to the top area.
HSplitCells returns two new areas created by splitting the provided area after the specified amount of cells of its height, as applied to the top area.
HSplitCellsReversed returns two new areas created by splitting the provided area after the specified amount of cells of its height, as applied to the bottom area.
HSplitReversed returns two new areas created by splitting the provided area at the specified percentage of its height, applying the percentage to the bottom area.
MoveDown returns a new area that is moved down by the specified amount of cells.
MoveUp returns a new area that is moved up by the specified amount of cells.
Shrink returns a new area whose size is reduced by the specified amount of cells.
ShrinkPercent returns a new area whose size is reduced by percentage of its width or height.
Size returns the size of the provided area.
VSplit returns two new areas created by splitting the provided area at the specified percentage of its width, applying the percentage to the left area.
VSplitCells returns two new areas created by splitting the provided area after the specified amount of cells of its width, as applied to the left area.
VSplitCellsReversed returns two new areas created by splitting the provided area after the specified amount of cells of its width, as applied to the right area.
VSplitReversed returns two new areas created by splitting the provided area at the specified percentage of its width, applying the percentage to the right area.
WithRatio returns the largest area that has the requested ratio but is either equal or smaller than the provided area.