This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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() {
|
||||
}
|
||||
Reference in New Issue
Block a user