document

package
v0.0.0-...-69a507d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Pdf gopdf.GoPdf
	// contains filtered or unexported fields
}

func NewDoc

func NewDoc(fontSize int, lineSpread float64) Doc

func (*Doc) AddFormattedMultilineText

func (d *Doc) AddFormattedMultilineText(x, y float64, content string, size int, style string)

func (*Doc) AddFormattedText

func (d *Doc) AddFormattedText(x, y float64, content string, size int, style string)

func (*Doc) AddMultilineText

func (d *Doc) AddMultilineText(x, y float64, content string)

func (*Doc) AddText

func (d *Doc) AddText(x, y float64, content string)

func (*Doc) DefaultFontSize

func (d *Doc) DefaultFontSize()

func (*Doc) DefaultFontStyle

func (d *Doc) DefaultFontStyle()

func (Doc) LineHeight

func (d Doc) LineHeight() float64

func (*Doc) SetFontSize

func (d *Doc) SetFontSize(size int)

func (*Doc) SetFontStyle

func (d *Doc) SetFontStyle(style string)

func (*Doc) SetPosition

func (d *Doc) SetPosition(x, y float64)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL