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

25 lines
338 B
Go

package svg
type (
Y1 struct {
*LengthAttr[Y1Tag]
}
Y1P struct {
PercentageAttr[Y1Tag]
}
Y1Tag struct{}
)
func (l *Length) AsY1() Y1 {
return Y1{LengthAttr: (*LengthAttr[Y1Tag])(l)}
}
func (p Percentage) AsY1() Y1P {
return Y1P{PercentageAttr: (PercentageAttr[Y1Tag])(p)}
}
func (Y1Tag) PrintTag() string {
return "y1"
}