This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package svg
|
||||
|
||||
type (
|
||||
Path = VoidElement[PathTag, PathAttribute]
|
||||
|
||||
PathTag struct{}
|
||||
|
||||
PathAttribute interface {
|
||||
Attribute
|
||||
IsPathAttribute()
|
||||
}
|
||||
)
|
||||
|
||||
func (PathTag) PrintTag() string {
|
||||
return "path"
|
||||
}
|
||||
|
||||
func (D) IsPathAttribute() {
|
||||
}
|
||||
|
||||
func (PathLength) IsPathAttribute() {
|
||||
}
|
||||
Reference in New Issue
Block a user