| Package | Description |
|---|---|
| ej.microui | |
| ej.microui.display |
Contains classes to implement a MicroUI Display and to implement MicroUI Painter drawings.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Log.mapImage(MicroUIImage img)
Maps an image to an event parameter.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MicroUIGraphicsContext
Represents a MicroUI GraphicsContext.
|
| Modifier and Type | Method and Description |
|---|---|
MicroUIImage |
LLUIDisplay.getSource(MicroUIImage image)
Returns an image that targets the front buffer (display buffer) instead of the back buffer.
|
MicroUIImage |
LLUIDisplay.mapMicroUIImage(byte[] image)
Maps a MicroUI Image byte array (retrieved by MicroEJ application calling
image.getSNIContext()) on
a MicroUIImage. |
MicroUIImage |
LLUIDisplay.newMicroUIImage(byte[] image)
Creates a new
MicroUIImage for the given MicroUI Image byte array. |
| Modifier and Type | Method and Description |
|---|---|
void |
LLUIDisplay.convertRegion(MicroUIImage image,
int x,
int y,
int width,
int height)
Converts the colors of the pixels in the given image's region.
|
default void |
UIImageDrawing.draw(MicroUIGraphicsContext gc,
MicroUIImage img,
int regionX,
int regionY,
int width,
int height,
int x,
int y,
int alpha)
Draws a region of an image.
|
default void |
UIImageDrawing.drawFlipped(MicroUIGraphicsContext gc,
MicroUIImage img,
int regionX,
int regionY,
int width,
int height,
int x,
int y,
LLDWPainter.DrawingFlip flip,
int alpha)
Draws an image applying a flip (0, 90, 180 or 270 degrees with or without mirror).
|
default void |
UIDrawing.drawFlippedImage(MicroUIGraphicsContext gc,
MicroUIImage img,
int regionX,
int regionY,
int width,
int height,
int x,
int y,
LLDWPainter.DrawingFlip flip,
int alpha)
Draws an image applying a flip (0, 90, 180 or 270 degrees with or without mirror).
|
default void |
UIDrawing.drawImage(MicroUIGraphicsContext gc,
MicroUIImage img,
int regionX,
int regionY,
int width,
int height,
int x,
int y,
int alpha)
Draws a region of an image.
|
default void |
UIImageDrawing.drawRotatedBilinear(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
int rotationX,
int rotationY,
float angle,
int alpha)
Draws an image applying a free rotation (0 to 360 degrees).
|
default void |
UIDrawing.drawRotatedImageBilinear(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
int rotationX,
int rotationY,
float angle,
int alpha)
Draws an image applying a free rotation (0 to 360 degrees).
|
default void |
UIDrawing.drawRotatedImageNearestNeighbor(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
int rotationX,
int rotationY,
float angle,
int alpha)
Draws an image applying a free rotation (0 to 360 degrees).
|
default void |
UIImageDrawing.drawRotatedNearestNeighbor(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
int rotationX,
int rotationY,
float angle,
int alpha)
Draws an image applying a free rotation (0 to 360 degrees).
|
default void |
UIImageDrawing.drawScaledBilinear(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws an image applying a scaling.
|
default void |
UIDrawing.drawScaledImageBilinear(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws an image applying a scaling.
|
default void |
UIDrawing.drawScaledImageNearestNeighbor(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws an image applying a scaling.
|
default void |
UIImageDrawing.drawScaledNearestNeighbor(MicroUIGraphicsContext gc,
MicroUIImage img,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws an image applying a scaling.
|
MicroUIImage |
LLUIDisplay.getSource(MicroUIImage image)
Returns an image that targets the front buffer (display buffer) instead of the back buffer.
|
UIImageDrawing |
LLUIDisplay.getUIImageDrawer(MicroUIImage image)
Gets the image drawer used to draw the given image.
|
boolean |
MicroUIGraphicsContext.regionsOverlap(MicroUIImage img,
int regionX,
int regionY,
int width,
int height,
int destX,
int destY)
Tells if source and destination share a region.
|