43 lines
2.5 KiB
Go
43 lines
2.5 KiB
Go
|
package icons
|
||
|
|
||
|
// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT.
|
||
|
|
||
|
import "fmt"
|
||
|
import "reflect"
|
||
|
import "github.com/vugu/vjson"
|
||
|
import "github.com/vugu/vugu"
|
||
|
import js "github.com/vugu/vugu/js"
|
||
|
|
||
|
type LSettings struct {
|
||
|
AttrMap vugu.AttrMap
|
||
|
}
|
||
|
|
||
|
func (c *LSettings) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
||
|
|
||
|
vgout = &vugu.BuildOut{}
|
||
|
|
||
|
var vgiterkey interface{}
|
||
|
_ = vgiterkey
|
||
|
var vgn *vugu.VGNode
|
||
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}}
|
||
|
vgout.Out = append(vgout.Out, vgn) // root for output
|
||
|
vgn.AddAttrList(c.AttrMap)
|
||
|
{
|
||
|
vgparent := vgn
|
||
|
_ = vgparent
|
||
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||
|
vgparent.AppendChild(vgn)
|
||
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M8.001 10.504c1.384,0 2.503,-1.119 2.503,-2.503 0,-1.384 -1.119,-2.503 -2.503,-2.503 -1.384,0 -2.503,1.119 -2.503,2.503 0,1.384 1.119,2.503 2.503,2.503zm-5.332 -1.157c-0.218,-0.87 -0.225,-1.797 0,-2.693l-1.784 -1.03c0.157,-0.468 0.362,-0.929 0.62,-1.374 0.256,-0.444 0.552,-0.853 0.88,-1.224l1.784 1.031c0.645,-0.625 1.444,-1.095 2.332,-1.346l0 -2.061c0.484,-0.098 0.986,-0.15 1.5,-0.15 0.514,0 1.016,0.052 1.5,0.15l0.001 2.063c0.863,0.246 1.668,0.7 2.33,1.344l1.785 -1.031c0.327,0.371 0.624,0.78 0.88,1.225 0.257,0.444 0.463,0.905 0.62,1.373l-1.786 1.033c0.219,0.87 0.227,1.795 0.001,2.69l1.785 1.03c-0.157,0.469 -0.363,0.93 -0.62,1.375 -0.256,0.444 -0.553,0.853 -0.88,1.224l-1.787 -1.032c-0.645,0.625 -1.441,1.095 -2.329,1.347l0 2.061c-0.484,0.098 -0.986,0.15 -1.5,0.15 -0.514,0 -1.016,-0.052 -1.5,-0.15l-0.001 -2.063c-0.864,-0.246 -1.668,-0.701 -2.331,-1.345l-1.784 1.032c-0.328,-0.371 -0.624,-0.78 -0.88,-1.225 -0.258,-0.444 -0.463,-0.905 -0.62,-1.374l1.784 -1.03z"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
|
||
|
vgparent.AppendChild(vgn)
|
||
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"}
|
||
|
vgparent.AppendChild(vgn)
|
||
|
}
|
||
|
return vgout
|
||
|
}
|
||
|
|
||
|
// 'fix' unused imports
|
||
|
var _ fmt.Stringer
|
||
|
var _ reflect.Type
|
||
|
var _ vjson.RawMessage
|
||
|
var _ js.Value
|