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

25 lines
323 B
Go

package svg
type (
Y struct {
*LengthAttr[YTag]
}
YP struct {
PercentageAttr[YTag]
}
YTag struct{}
)
func (l *Length) AsY() Y {
return Y{LengthAttr: (*LengthAttr[YTag])(l)}
}
func (p Percentage) AsY() YP {
return YP{PercentageAttr: (PercentageAttr[YTag])(p)}
}
func (YTag) PrintTag() string {
return "y"
}