Class FxAppImage

java.lang.Object
net.thevpc.echo.jfx.icons.FxAppImage
All Implemented Interfaces:
net.thevpc.echo.spi.peers.AppImagePeer

public class FxAppImage
extends java.lang.Object
implements net.thevpc.echo.spi.peers.AppImagePeer
Author:
vpc
  • Constructor Summary

    Constructors
    Constructor Description
    FxAppImage​(java.net.URL baseURL)  
    FxAppImage​(javafx.scene.image.Image fxImage)  
  • Method Summary

    Modifier and Type Method Description
    javafx.scene.image.Image getFxImage()  
    double getHeight()  
    double getWidth()  
    static javafx.scene.image.Image imageOf​(net.thevpc.echo.api.AppImage a)  
    static javafx.scene.image.ImageView imageViewOf​(net.thevpc.echo.api.AppImage a)  
    boolean isVector()  
    static FxAppImage of​(javafx.scene.image.Image a)  
    static FxAppImage of​(net.thevpc.echo.api.AppImage a)  
    net.thevpc.echo.spi.peers.AppImagePeer scale​(float widthFactor, float heightFactor)  
    net.thevpc.echo.spi.peers.AppImagePeer scaleBase​(float widthFactor, float heightFactor)  
    net.thevpc.echo.spi.peers.AppImagePeer scaleTo​(double width, double height)  
    java.lang.Object toolkitImage()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FxAppImage

      public FxAppImage​(java.net.URL baseURL)
    • FxAppImage

      public FxAppImage​(javafx.scene.image.Image fxImage)
  • Method Details

    • imageViewOf

      public static javafx.scene.image.ImageView imageViewOf​(net.thevpc.echo.api.AppImage a)
    • imageOf

      public static javafx.scene.image.Image imageOf​(net.thevpc.echo.api.AppImage a)
    • of

      public static FxAppImage of​(net.thevpc.echo.api.AppImage a)
    • of

      public static FxAppImage of​(javafx.scene.image.Image a)
    • isVector

      public boolean isVector()
      Specified by:
      isVector in interface net.thevpc.echo.spi.peers.AppImagePeer
    • scaleTo

      public net.thevpc.echo.spi.peers.AppImagePeer scaleTo​(double width, double height)
      Specified by:
      scaleTo in interface net.thevpc.echo.spi.peers.AppImagePeer
    • scaleBase

      public net.thevpc.echo.spi.peers.AppImagePeer scaleBase​(float widthFactor, float heightFactor)
      Specified by:
      scaleBase in interface net.thevpc.echo.spi.peers.AppImagePeer
    • scale

      public net.thevpc.echo.spi.peers.AppImagePeer scale​(float widthFactor, float heightFactor)
      Specified by:
      scale in interface net.thevpc.echo.spi.peers.AppImagePeer
    • toolkitImage

      public java.lang.Object toolkitImage()
      Specified by:
      toolkitImage in interface net.thevpc.echo.spi.peers.AppImagePeer
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in interface net.thevpc.echo.spi.peers.AppImagePeer
    • getWidth

      public double getWidth()
      Specified by:
      getWidth in interface net.thevpc.echo.spi.peers.AppImagePeer
    • getFxImage

      public javafx.scene.image.Image getFxImage()