Class DeviceSceneUtil

java.lang.Object
dev.webfx.kit.util.scene.DeviceSceneUtil

public final class DeviceSceneUtil extends Object
Author:
Bruno Salmon
  • Constructor Details

    • DeviceSceneUtil

      public DeviceSceneUtil()
  • Method Details

    • newScene

      public static Scene newScene(Parent root, double width, double height)
    • newScene

      public static Scene newScene(Parent root, double width, double height, Paint fill)
    • newScreenVisualBoundsScene

      public static Scene newScreenVisualBoundsScene(Parent root)
    • newScreenVisualBoundsScene

      public static Scene newScreenVisualBoundsScene(Parent root, Paint fill)
    • getFinalSceneBounds

      public static Rectangle2D getFinalSceneBounds(double width, double height)
    • getSceneBoundsWithMaxPixelsCapOnDesktop

      public static Rectangle2D getSceneBoundsWithMaxPixelsCapOnDesktop(double maxPixels)
    • onFontsLoaded

      public static void onFontsLoaded(Runnable runnable)
    • onObservableListEmpty

      public static void onObservableListEmpty(ObservableList<Font> list, Runnable runnable)
    • onImagesLoaded

      public static void onImagesLoaded(Runnable runnable, Image... images)
    • onFontsAndImagesLoaded

      public static void onFontsAndImagesLoaded(Runnable runnable, Image... images)