透明场景与JavaFX?

时间:2017-05-18 20:49:43

标签: java javafx

我试图用JavaFX创建透明场景。我能够让它发挥作用的唯一方法是舞台风格也是透明的。有没有办法让场景透明而不使窗口装饰透明?

let mainStoryboardIpad : UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
let initialViewControlleripad : UINavigationController = mainStoryboardIpad.instantiateViewController(withIdentifier: "initial") as! UINavigationController
self.window = UIWindow(frame: UIScreen.main.bounds)
self.window?.rootViewController = initialViewControlleripad
self.window?.makeKeyAndVisible()

0 个答案:

没有答案