23 lines
274 B
Go
23 lines
274 B
Go
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() {
|
|
}
|