This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package svg
|
||||
|
||||
import "fmt"
|
||||
|
||||
type (
|
||||
PathLength float64
|
||||
)
|
||||
|
||||
func (PathLength) PrintKey() string {
|
||||
return "pathLength"
|
||||
}
|
||||
|
||||
func (l PathLength) PrintValue() (string, bool) {
|
||||
return fmt.Sprintf(`"%v"`, l), true
|
||||
}
|
||||
Reference in New Issue
Block a user