Files
inventory-plus-plus/server/ui/svg/polygon.go
T
2026-07-18 18:24:37 -06:00

23 lines
306 B
Go

package svg
type (
Polygon = VoidElement[PolygonTag, PolygonAttribute]
PolygonTag struct{}
PolygonAttribute interface {
Attribute
IsPolygonAttribute()
}
)
func (PolygonTag) PrintTag() string {
return "path"
}
func (Points) IsPolygonAttribute() {
}
func (PathLength) IsPolygonAttribute() {
}