()
| 2173 | heading = heading.duplicate(); |
| 2174 | return moveTo(nodes.get(s.index).to); |
| 2175 | } |
| 2176 | |
| 2177 | /** |
| 2178 | * removes 'n' number of drawing instructions from the start of this line |
| 2179 | */ |
| 2180 | public FLine trimStart(int n) { |
| 2181 | n = Math.min(n, nodes.size()); |
| 2182 | if (n == 0) return this; |
| 2183 | |
| 2184 | mod++; |
| 2185 | nodes = new ArrayList(nodes.subList(n, nodes.size())); |
no test coverage detected