Last active
November 27, 2021 15:38
-
-
Save PragmaticCoding/fdbc1af6c4b89a7bf1ac17342961d67e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val imageView = ImageView(Image(path.toExternalForm())) | |
imageView.fitHeight = 600.0 | |
imageView.isPreserveRatio = true | |
imageView.opacity = 0.7 | |
hbox.getChildren().add(imageView) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment