Hello,
I have a Region, which needs a background and an image 'on top' of it.
I can set the background using
setStyle("-fx-background-color: #" + 123456 + ";");
Or I can just use a Rectangle of that colour.
Then I have an ImageView... spiralImgView = new ImageView(new Image("images/spiral2.png"));
The png image itself has some transparency in it.
So when I add them to the region...
this.getChildren().addAll(rect, spiralImgView);
I just get a white background showing behind the image.
Can anyone help me fix this?
Thanks