public class SwingAppImage extends Object implements net.thevpc.echo.spi.peers.AppImagePeer
| Constructor and Description |
|---|
SwingAppImage(Image any) |
SwingAppImage(URL baseURL) |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight() |
ImageIcon |
getIcon() |
Image |
getImage() |
ImageIcon |
getImageIcon() |
double |
getWidth() |
static Icon |
iconOf(net.thevpc.echo.api.AppImage a) |
static ImageIcon |
imageIconOf(net.thevpc.echo.api.AppImage a) |
boolean |
isVector() |
static SwingAppImage |
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) |
Object |
toolkitImage() |
public SwingAppImage(Image any)
public SwingAppImage(URL baseURL)
public static SwingAppImage of(net.thevpc.echo.api.AppImage a)
public static ImageIcon imageIconOf(net.thevpc.echo.api.AppImage a)
public static Icon iconOf(net.thevpc.echo.api.AppImage a)
public boolean isVector()
isVector in interface net.thevpc.echo.spi.peers.AppImagePeerpublic net.thevpc.echo.spi.peers.AppImagePeer scaleTo(double width,
double height)
scaleTo in interface net.thevpc.echo.spi.peers.AppImagePeerpublic net.thevpc.echo.spi.peers.AppImagePeer scaleBase(float widthFactor,
float heightFactor)
scaleBase in interface net.thevpc.echo.spi.peers.AppImagePeerpublic net.thevpc.echo.spi.peers.AppImagePeer scale(float widthFactor,
float heightFactor)
scale in interface net.thevpc.echo.spi.peers.AppImagePeerpublic Object toolkitImage()
toolkitImage in interface net.thevpc.echo.spi.peers.AppImagePeerpublic ImageIcon getImageIcon()
public ImageIcon getIcon()
public Image getImage()
public double getHeight()
getHeight in interface net.thevpc.echo.spi.peers.AppImagePeerpublic double getWidth()
getWidth in interface net.thevpc.echo.spi.peers.AppImagePeerCopyright © 2022 vpc open source initiative. All rights reserved.