Write a command on one line (as a String), then start a new line and write out a formatted float. Available for anyone who wants to insert additional commands into the DXF stream.
(String cmd, float val)
| 231 | * insert additional commands into the DXF stream. |
| 232 | */ |
| 233 | public void write(String cmd, float val) { |
| 234 | writer.println(cmd); |
| 235 | // Don't number format, will cause trouble on systems that aren't en-US |
| 236 | // http://dev.processing.org/bugs/show_bug.cgi?id=495 |
| 237 | writer.println(val); |
| 238 | } |
| 239 | |
| 240 | |
| 241 | /** |
no test coverage detected