Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Font ¶
type Font struct { // en: due to the problem of javascript not being able to measure the font height // correctly, all fonts are determined in pixels // // pt_br: devido ao problema do javascript não conseguir medir a altura da fonte // de forma correta, todas as fontes são determinadas em pixels Size int // en: use a string like 'verdana' ou a font family factory, ex.: // factoryFontFamily.NewArialBlack() // // pt_br: use uma string, tipo 'verdana' ou uma fábrica de famílias de fonte, ex.: // factoryFontFamily.NewArialBlack() Family string // en: use a string, like 'bold' or a font style factory, ex.: // factoryFontStyle.NewItalic() // // pt_br: use uma string, tipo 'bold' ou uma fábrica de estilo de fonte, ex.: // factoryFontStyle.NewItalic() Style string // en: use a string 'Small-Caps' or factoryFontVariant.NewSmallCaps() // // pt_br: use a string 'Small-Caps' ou factoryFontVariant.NewSmallCaps() Variant string // en: use a string like 'bold' or a font weight factory, ex.: // factoryFontWeight.NewBold() // // pt_br: use uma string, tipo 'bold' ou uma fábrica de peso de fonte, ex.: // factoryFontWeight.NewBold() Weight string }
Click to show internal directories.
Click to hide internal directories.