Class
FrameScale
ConsoleMonster.Frames
The size and length of one frame render. The frame creates it from the terminal at render time and hands it to section content and the compact view, so frames on a laptop and on a wide screen follow the same rules. Authors read it; they never read the console.
Inheritance
- object
- FrameScale
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property DashboardFrame.Compact
- Property FrameSectionContext.Scale
Accepted by parameters 1
- Constructor GroupedRows<T>.GroupedRows
Methods
public int MatrixCapacity(int labelWidth, int cellWidth, int? width = null) #How many matrix columns fit after a label block.
Parameters
- labelWidth int
- Cells taken by row labels.
- cellWidth int
- Cells per column including its gap.
- width int? = null
- Available width, or the content width.
Returns
int The column capacity.Inherited Methods
Properties
public int ContentWidth { get; } #Usable width: one gutter cell on the left and one free cell on the right.