add truecolor support

This commit is contained in:
probandula
2016-11-02 16:46:47 +01:00
parent 9e6c45dd86
commit 76dcd98705
5 changed files with 123 additions and 35 deletions

View File

@@ -1,16 +1,12 @@
package figlet4go
import (
"github.com/fatih/color"
)
// RenderOptions are used to set color or maybe future
// options to the AsciiRenderer
type RenderOptions struct {
// Name of the used font
FontName string
// Colors of the font
FontColor []color.Attribute
FontColor []Color
}
// NewRenderOptions creates new RenderOptions