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() { }