Aha. Konstruktor třídy Path je ve stejném tvaru, ale použít mě to nenapadlo.
import javafx.scene.shape.Path;
import javafx.scene.shape.PathElement;
public class Example extends Path {
public Example(PathElement... elements) {
super(elements);
...
}
}
Díky