Package net.thevpc.echo.jfx.icons
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.ImagegetFxImage()doublegetHeight()doublegetWidth()static javafx.scene.image.ImageimageOf(net.thevpc.echo.api.AppImage a)static javafx.scene.image.ImageViewimageViewOf(net.thevpc.echo.api.AppImage a)booleanisVector()static FxAppImageof(javafx.scene.image.Image a)static FxAppImageof(net.thevpc.echo.api.AppImage a)net.thevpc.echo.spi.peers.AppImagePeerscale(float widthFactor, float heightFactor)net.thevpc.echo.spi.peers.AppImagePeerscaleBase(float widthFactor, float heightFactor)net.thevpc.echo.spi.peers.AppImagePeerscaleTo(double width, double height)java.lang.ObjecttoolkitImage()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
-
of
-
isVector
public boolean isVector()- Specified by:
isVectorin interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
scaleTo
public net.thevpc.echo.spi.peers.AppImagePeer scaleTo(double width, double height)- Specified by:
scaleToin interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
scaleBase
public net.thevpc.echo.spi.peers.AppImagePeer scaleBase(float widthFactor, float heightFactor)- Specified by:
scaleBasein interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
scale
public net.thevpc.echo.spi.peers.AppImagePeer scale(float widthFactor, float heightFactor)- Specified by:
scalein interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
toolkitImage
public java.lang.Object toolkitImage()- Specified by:
toolkitImagein interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
getHeight
public double getHeight()- Specified by:
getHeightin interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
getWidth
public double getWidth()- Specified by:
getWidthin interfacenet.thevpc.echo.spi.peers.AppImagePeer
-
getFxImage
public javafx.scene.image.Image getFxImage()
-