Documentation ¶
Index ¶
Constants ¶
View Source
const ( A1 PageSize = "a1" A2 PageSize = "a2" A3 PageSize = "a3" A4 PageSize = "a4" A5 PageSize = "a5" A6 PageSize = "a6" Letter PageSize = "letter" Legal PageSize = "legal" Tabloid PageSize = "tabloid" MinTopMargin = 10.0 MinLeftMargin = 10.0 MinRightMargin = 10.0 MinBottomMargin = 20.0 DefaultFontSize = 10.0 DefaultMaxGridSum = 12.0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { WithPageSize(size PageSize) Builder WithDimensions(dimensions *Dimensions) Builder WithMargins(margins *Margins) Builder WithProvider(providerType provider.Type) Builder WithWorkerPoolSize(poolSize int) Builder WithDebug(on bool) Builder WithMaxGridSize(maxGridSize int) Builder WithFont(font *Font) Builder Build() *Maroto }
func NewBuilder ¶
func NewBuilder() Builder
type Dimensions ¶
func GetDimensions ¶
func GetDimensions(pageSize PageSize) *Dimensions
Click to show internal directories.
Click to hide internal directories.