package svg type ( RY struct { *LengthAttr[RYTag] } RYP struct { PercentageAttr[RYTag] } RYTag struct{} ) func (l *Length) AsRY() RY { return RY{LengthAttr: (*LengthAttr[RYTag])(l)} } func (p Percentage) AsRY() RYP { return RYP{PercentageAttr: (PercentageAttr[RYTag])(p)} } func (RYTag) PrintTag() string { return "ry" }