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