47 lines
2.6 KiB
Go
47 lines
2.6 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 LPowerButton struct {
|
||
|
AttrMap vugu.AttrMap
|
||
|
}
|
||
|
|
||
|
func (c *LPowerButton) 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: "line", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "x1", Val: "7.485"}, vugu.VGAttribute{Namespace: "", Key: "y1", Val: "0.5"}, vugu.VGAttribute{Namespace: "", Key: "x2", Val: "7.485"}, vugu.VGAttribute{Namespace: "", Key: "y2", Val: "7.5"}, 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: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}}
|
||
|
vgparent.AppendChild(vgn)
|
||
|
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: "M4.545 2.157c-2.466,1.15 -4.042,3.624 -4.042,6.344 0,3.866 3.134,7 7,7 3.866,0 7,-3.134 7,-7 0,-2.72 -1.576,-5.194 -4.042,-6.344"}, 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: "stroke-linecap", 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
|