This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package svg
|
||||
|
||||
type (
|
||||
G struct {
|
||||
Element[GTag, GAttribute, GChildren]
|
||||
}
|
||||
GTag struct{}
|
||||
|
||||
GAttribute interface {
|
||||
Attribute
|
||||
IsGAttribute()
|
||||
}
|
||||
|
||||
GChildren = MarshalerReader
|
||||
)
|
||||
|
||||
func (GTag) PrintTag() string {
|
||||
return "g"
|
||||
}
|
||||
|
||||
func (Transform) IsGAttribute() {
|
||||
}
|
||||
|
||||
func (X) IsGAttribute() {
|
||||
}
|
||||
|
||||
func (XP) IsGAttribute() {
|
||||
}
|
||||
|
||||
func (Y) IsGAttribute() {
|
||||
}
|
||||
|
||||
func (YP) IsGAttribute() {
|
||||
}
|
||||
|
||||
func (Class) IsGAttribute() {
|
||||
}
|
||||
Reference in New Issue
Block a user