Documentation ¶
Overview ¶
Package line implements creation of lines.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New is responsible to create an instance of a Line.
Example ¶
ExampleNew demonstrates how create a line component.
m := maroto.New() line := line.New() col := col.New(12).Add(line) m.AddRow(10, col) // generate document
Output:
func NewCol ¶
NewCol is responsible to create an instance of a Line wrapped in a Col.
Example ¶
ExampleNewCol demonstrates how to crete a line wrapped into a column.
m := maroto.New() lineCol := line.NewCol(12) m.AddRow(10, lineCol) // generate document
Output:
Types ¶
Click to show internal directories.
Click to hide internal directories.