38 lines
539 B
Go
38 lines
539 B
Go
package svg
|
|
|
|
type (
|
|
Polyline = VoidElement[PolylineTag, PolylineAttribute]
|
|
|
|
PolylineTag struct{}
|
|
|
|
PolylineAttribute interface {
|
|
Attribute
|
|
IsPolylineAttribute()
|
|
}
|
|
)
|
|
|
|
func (PolylineTag) PrintTag() string {
|
|
return "polyline"
|
|
}
|
|
|
|
func (PathLength) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (Points) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (Stroke) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (Fill) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (StrokeWidth) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (StrokeWidthP) IsPolylineAttribute() {
|
|
}
|
|
|
|
func (VectorEffect) IsPolylineAttribute() {
|
|
}
|