java - javafx and css3 rotateY() doesn't work -
javafx doesn't support css3 rotatey(). if visit link http://css3test.com/ code below, transforms properties work 100%. how solve it?
import java.io.ioexception; import javafx.application.application; import javafx.scene.scene; import javafx.scene.layout.stackpane; import javafx.scene.web.webengine; import javafx.scene.web.webview; import javafx.stage.stage; public class browser extends application { @override public void start(stage stage) throws exception { stackpane pane = new stackpane(); webview view = new webview(); webengine engine = view.getengine(); engine.load("http://desandro.github.io/3dtransforms/examples/perspective-01.html"); pane.getchildren().add(view); scene scene = new scene(pane, 1280, 720); stage.setscene(scene); stage.show(); } public static void main(string[] args) throws ioexception { application.launch(args); } }
with javafx webview: screenshot code above
Comments
Post a Comment