| Modifier and Type | Method and Description |
|---|---|
Image |
Widget.getCurrentSkin()
Gets the current skin to render.
|
Image |
Widget.getFilter()
Gets the image which represents the filtering area set by the front panel parser thanks
Widget.setFilter(Image)
method). |
Image |
Widget.getSkin()
Gets the default skin of this widget set by the front panel parser thanks
Widget.setSkin(Image) method). |
Image |
Image.getTransparentImage(byte alpha)
Gets a transparent image of the image.
|
Image |
FrontPanel.newImage(Image image)
Creates a copy of given image in a new platform-specific
Image. |
abstract Image |
FrontPanel.newImage(java.io.InputStream stream)
Loads the image defined by the
stream in a platform-specific Image. |
abstract Image |
FrontPanel.newImage(int width,
int height,
int color,
boolean isTransparent)
Creates a new platform-specific
Image with the specified size and initial color. |
| Modifier and Type | Method and Description |
|---|---|
void |
Image.crop(Image mask)
Crop this image keeping only non-transparent pixels from given image mask.
|
void |
FrontPanel.disposeIfNotNull(Image... images)
Disposes given images.
|
default void |
Image.drawImage(Image image)
Draws the given image in the image at position (0,0) (top-left).
|
default void |
Image.drawImage(Image image,
int dx,
int dy,
int dWidth,
int dHeight)
Draws the given image in the image at given position.
|
void |
Image.drawImage(Image image,
int sx,
int sy,
int sWidth,
int sHeight,
int dx,
int dy,
int dWidth,
int dHeight)
Draws the part of the given image in the image at given position.
|
void |
Image.drawTransparentImage(Image image,
byte alpha,
int sx,
int sy,
int sWidth,
int sHeight,
int dx,
int dy,
int dWidth,
int dHeight)
Draws the specified area of the given image at the specified destination using alpha blending.
|
Image |
FrontPanel.newImage(Image image)
Creates a copy of given image in a new platform-specific
Image. |
void |
Widget.setCurrentSkin(Image skin)
Sets the current skin to render according the widget state.
|
void |
Widget.setFilter(Image filter)
Sets an image which defines a filtering area.
|
void |
Widget.setSkin(Image skin)
Sets the default skin of this widget.
|
| Constructor and Description |
|---|
Device(java.lang.String name,
Image skin)
Creates a new device with its name (label) and background.
|