Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CellEmpty = Cell{ Rune: ' ', Style: style.StyleClear, }
Functions ¶
Types ¶
type Canvas ¶
type Canvas struct {
modules.Module
Objects []*CanvasObject
}
type CanvasObject ¶
type CanvasObject struct {
XRatio float64
YRatio float64
WidthRatio float64
HeightRatio float64
Entry interface{}
IsLeaf bool
Cell [][]Cell
// contains filtered or unexported fields
}
func NewCol ¶
func NewCol(ratio float64, i ...interface{}) CanvasObject
func NewRow ¶
func NewRow(ratio float64, i ...interface{}) CanvasObject
Click to show internal directories.
Click to hide internal directories.