Transparent Stage should not minimized when clicked inside in Javafx

后端 未结 1 447
盖世英雄少女心
盖世英雄少女心 2021-01-28 06:57

I am learning to create Screen Recording application in JavaFx. I want user to resize the rectangle to decide the screen capture area. I have made stage and scene Transparent by

相关标签:
1条回答
  • 2021-01-28 07:41

    Fill the rectangle as

    rectangle.setFill(Color.web("blue", 0.1));
    // or more transparent
    rectangle.setFill(Color.web("gray", 0.01));
    
    0 讨论(0)
提交回复
热议问题