(path string, width, height float64)
| 202 | } |
| 203 | |
| 204 | func (p Paths) WriteToSVG(path string, width, height float64) error { |
| 205 | return ioutil.WriteFile(path, []byte(p.ToSVG(width, height)), 0644) |
| 206 | } |
| 207 | |
| 208 | func (p Paths) WriteToTXT(path string) error { |
| 209 | return ioutil.WriteFile(path, []byte(p.String()), 0644) |