Documentation
¶
Index ¶
- Constants
- type BoardTitle
- type GoFPDF
- func (g *GoFPDF) AddPDFPage(png []byte, titlePath []BoardTitle, themeID int64, fill string, ...) error
- func (g *GoFPDF) Export(outputPath string) error
- func (g *GoFPDF) ExportTo(output io.Writer) error
- func (g *GoFPDF) ExportWithStatus(outputPath string) (touched bool, err error)
- func (g *GoFPDF) GetFillRGB(themeID int64, fill string) (color.RGB, error)
Constants ¶
View Source
const TITLE_SEP = " / "
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoardTitle ¶
type GoFPDF ¶
type GoFPDF struct {
// contains filtered or unexported fields
}
func (*GoFPDF) AddPDFPage ¶
func (*GoFPDF) ExportTo ¶ added in v0.9.0
ExportTo writes the complete PDF document to output. The caller retains ownership of output.
func (*GoFPDF) ExportWithStatus ¶ added in v0.9.0
ExportWithStatus writes the PDF document to outputPath and reports whether the target was created or truncated. A true result therefore means callers must treat an accompanying error as a partial output failure, even when the failure happened before the first byte was written.
Click to show internal directories.
Click to hide internal directories.