(@NotNull String svg)
| 143 | } |
| 144 | |
| 145 | @NotNull @Contract("_ -> new") |
| 146 | public static Path makeFromSVGString(@NotNull String svg) { |
| 147 | assert svg != null : "Can't makeFromSVGString with svg == null"; |
| 148 | Stats.onNativeCall(); |
| 149 | long res = _nMakeFromSVGString(svg); |
| 150 | if (res == 0) |
| 151 | throw new IllegalArgumentException("Failed to parse SVG Path string: " + svg); |
| 152 | else |
| 153 | return new Path(res); |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * <p>Returns Path that is the result of applying the Op to the first path and the second path. |
no test coverage detected