How do I create a JavaFX transparent stage with shadows on only the border?
问题 I've read through many questions on transparency and shadows, but I don't think I've seen this specific issue addressed. I'm able to successfully create a window with both transparency and a shadow, but I can't figure out how to make the color shadow not affect the transparency color. For example, the following code creates a window with a gray transparency and a red drop shadow. However, the red color affects the transparency of the main window as well, but I only want the shadow to extend