I exported a svg image of some hills out of inkscape and into a JavaFX format. The format for javafx file produced is pre 1.2 so I edited the file to make it 1.2 compliant. The issue is I can;t get the path to display. I am not an expert on paths so I can only assume that something is wrong with the path. The class for the hill is below. Originally I could get the hill to display but I needed to extend the image so I took the svg path, copied it, flipped it 180 and pasted to the "end" of the first. No matter what I do now the hill path will not display.
I think maybe the path is too complex? Or am I doing something wrong?
I display this path by calling
The hill gets place in the scene contents of a stage object. Any help appreciated
posted 6 years ago
I could see your hill (mirrored, but you could mirror it programmatically) with the following code (and your class):
Ah, I had also to make a real function call (was your syntax inherited from pre-release JavaFX?):