Documentation ¶
Overview ¶
Package png implements the builder for PNG files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PNGBuilder ¶
type PNGBuilder struct {
// contains filtered or unexported fields
}
PNGBuilder struct.
func (*PNGBuilder) GenerateFile ¶
func (p *PNGBuilder) GenerateFile(page *rod.Page) ([]byte, error)
GenerateFile converts a rod Page instance to a PNG file.
func (*PNGBuilder) SetFullPage ¶
func (p *PNGBuilder) SetFullPage(fullPage bool) generator.Generator
SetFullPage sets the pages to be converted. If false, only the first page is selected.
Click to show internal directories.
Click to hide internal directories.