prototyped svg reports
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user