This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package svg
|
||||
|
||||
type (
|
||||
LengthAdjust int
|
||||
)
|
||||
|
||||
const (
|
||||
LengthAdjustSpacing LengthAdjust = iota
|
||||
LengthAdjustSpacingAndGlyph
|
||||
)
|
||||
|
||||
func (LengthAdjust) PrintTag() string {
|
||||
return "lengthAdjust"
|
||||
}
|
||||
|
||||
func (l LengthAdjust) PrintValue() (string, bool) {
|
||||
switch l {
|
||||
case LengthAdjustSpacingAndGlyph:
|
||||
return "spacingAndGlyphs", true
|
||||
default:
|
||||
return "spacing", true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user