I'm working on JavaFx canvas. I can have a GraphicsContext object called 'gc'.
GraphicsContext gc = canvas.getGraphicsContext2D();
I can set regular fill color for it as
gc.setFill(Color.GREEN);
But I really want is HATCHED green color as the fill. But I couldn't found appropriate java class to get Hatched Colors. Can anybody help me please?
Hera is an Example for hatched patterns(color=black in this case):-