Package dev.webfx.kit.util.scene
Class DeviceSceneUtil
java.lang.Object
dev.webfx.kit.util.scene.DeviceSceneUtil
- Author:
- Bruno Salmon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Rectangle2D
getFinalSceneBounds
(double width, double height) static Rectangle2D
getSceneBoundsWithMaxPixelsCapOnDesktop
(double maxPixels) static Scene
static Scene
static Scene
static Scene
newScreenVisualBoundsScene
(Parent root, Paint fill) static void
onFontsAndImagesLoaded
(Runnable runnable, Image... images) static void
onFontsLoaded
(Runnable runnable) static void
onImagesLoaded
(Runnable runnable, Image... images) static void
onObservableListEmpty
(ObservableList<Font> list, Runnable runnable)
-
Constructor Details
-
DeviceSceneUtil
public DeviceSceneUtil()
-
-
Method Details
-
newScene
-
newScene
-
newScreenVisualBoundsScene
-
newScreenVisualBoundsScene
-
getFinalSceneBounds
-
getSceneBoundsWithMaxPixelsCapOnDesktop
-
onFontsLoaded
-
onObservableListEmpty
-
onImagesLoaded
-
onFontsAndImagesLoaded
-