Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &Config{ Hues: -1, Colored: Color{ Saturation: 0.5, Lightness: []float64{0.4, 0.8}, }, Grayscale: Color{ Saturation: 0.0, Lightness: []float64{0.3, 0.9}, }, Background: color.RGBA{0xff, 0xff, 0xff, 0x00}, Width: 200, Height: 200, Padding: 0.08, }
DefaultConfig var
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Hues int Colored Color Grayscale Color Background color.Color Width int Height int Padding float64 }
func ConfigFromBytes ¶
func ConfigFromString ¶
type Jdenticon ¶
func NewWithConfig ¶
type Path ¶
type Path struct { XMLName xml.Name `xml:"path"` Shapes Shapes `xml:"d,attr"` Fill string `xml:"fill,attr,omitempty"` Opacity float64 `xml:"opacity,attr,omitempty"` Stroke string `xml:"stroke,attr,omitempty"` UseOpacity bool `xml:"-"` }
func (Path) MarshalXML ¶
Click to show internal directories.
Click to hide internal directories.