Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PNGOptions ¶
type PNGOptions struct { FretboardOffsetX float64 FretboardOffsetY float64 DrawTitle bool TextDisplayMode TextDisplayMode }
type PNGRenderer ¶
type PNGRenderer struct {
// contains filtered or unexported fields
}
func NewPNGRenderer ¶
func NewPNGRenderer(fretboard *fretboard.Fretboard, options PNGOptions) PNGRenderer
type TextDisplayMode ¶
type TextDisplayMode uint
const ( TextDisplayModeDefault TextDisplayMode = iota TextDisplayModeIntervalRelativeToScale TextDisplayModeIntervalRelativeToChord )
Click to show internal directories.
Click to hide internal directories.