prototyped svg reports
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package svg
|
||||
|
||||
type (
|
||||
Line = VoidElement[LineTag, LineAttribute]
|
||||
|
||||
LineTag struct{}
|
||||
|
||||
LineAttribute interface {
|
||||
Attribute
|
||||
IsLineAttribute()
|
||||
}
|
||||
)
|
||||
|
||||
func (LineTag) PrintTag() string {
|
||||
return "line"
|
||||
}
|
||||
|
||||
func (X1) IsLineAttribute() {
|
||||
}
|
||||
|
||||
func (X2) IsLineAttribute() {
|
||||
}
|
||||
|
||||
func (Y1) IsLineAttribute() {
|
||||
}
|
||||
|
||||
func (Y2) IsLineAttribute() {
|
||||
}
|
||||
|
||||
func (PathLength) IsLineAttribute() {
|
||||
}
|
||||
Reference in New Issue
Block a user