Class WebFxKitLauncher

java.lang.Object
dev.webfx.kit.launcher.WebFxKitLauncher

public final class WebFxKitLauncher extends Object
Author:
Bruno Salmon
  • Property Details

  • Constructor Details

    • WebFxKitLauncher

      public WebFxKitLauncher()
  • Method Details

    • getProvider

      public static WebFxKitLauncherProvider getProvider()
    • launchApplication

      public static void launchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args)
    • isReady

      public static boolean isReady()
    • onReady

      public static void onReady(Runnable runnable)
    • getApplication

      public static Application getApplication()
    • getPrimaryStage

      public static Stage getPrimaryStage()
    • getVerticalScrollbarExtraWidth

      public static double getVerticalScrollbarExtraWidth()
    • supportsSvgImageFormat

      public static boolean supportsSvgImageFormat()
    • supportsWebPImageFormat

      public static boolean supportsWebPImageFormat()
    • getFastPixelReaderWriter

      public static FastPixelReaderWriter getFastPixelReaderWriter(Image image)
    • createWillReadFrequentlyCanvas

      public static Canvas createWillReadFrequentlyCanvas()
    • createWillReadFrequentlyCanvas

      public static Canvas createWillReadFrequentlyCanvas(double width, double height)
    • createCanvas

      public static Canvas createCanvas(boolean willReadFrequently)
    • createCanvas

      public static Canvas createCanvas(double width, double height, boolean willReadFrequently)
    • getGraphicsContext2D

      public static GraphicsContext getGraphicsContext2D(Canvas canvas, boolean willReadFrequently)
    • setCanvasPixelDensity

      public static void setCanvasPixelDensity(Canvas canvas, double pixelDensity)
    • getCanvasPixelDensity

      public static double getCanvasPixelDensity(Canvas canvas)
    • getDefaultCanvasPixelDensity

      public static double getDefaultCanvasPixelDensity()
    • measureText

      public static Bounds measureText(String text, Font font)
    • measureBaselineOffset

      public static double measureBaselineOffset(Font font)
    • loadingFonts

      public static ObservableList<Font> loadingFonts()
    • getWebFxCssResourcePath

      public static String getWebFxCssResourcePath(String webFxCssPath)
    • safeAreaInsetsProperty

      public static ReadOnlyObjectProperty<Insets> safeAreaInsetsProperty()
      Returns:
      the safeAreaInsets property
      See Also:
    • getSafeAreaInsets

      public static Insets getSafeAreaInsets()
      Gets the value of the safeAreaInsets property.
      Property description:
      Returns:
      the value of the safeAreaInsets property
      See Also: