| 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.mapGraphicsContext(MicroUIGraphicsContext gc)
Maps a graphics context to an event parameter.
|
| Modifier and Type | Method and Description |
|---|---|
MicroUIGraphicsContext |
LLUIDisplay.mapMicroUIGraphicsContext(byte[] gc)
Maps a MicroUI GraphicsContext byte array (retrieved by MicroEJ application calling
gc.getSNIContext()) on a MicroUIGraphicsContext. |
MicroUIGraphicsContext |
LLUIDisplay.newMicroUIGraphicsContext(byte[] gc)
Creates a new
MicroUIGraphicsContext for the given MicroUI GraphicsContext byte array. |
| Modifier and Type | Method and Description |
|---|---|
default void |
UIFontDrawing.draw(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int x,
int y)
Draws a string.
|
default void |
UIFontDrawing.draw(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int x,
int y)
Draws a character.
|
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 |
UIDrawing.drawChar(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int x,
int y)
Draws a character.
|
default void |
UIDrawing.drawCharWithRotationBilinear(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int destX,
int destY,
int xRotation,
int yRotation,
float angle,
int alpha)
Draws a string applying a rotation and an alpha value.
|
default void |
UIFontDrawing.drawCharWithRotationBilinear(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int destX,
int destY,
int xRotation,
int yRotation,
float angle,
int alpha)
Draws a string applying a rotation and an alpha value.
|
default void |
UIDrawing.drawCharWithRotationNearestNeighbor(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int destX,
int destY,
int xRotation,
int yRotation,
float angle,
int alpha)
Draws a string applying a rotation and an alpha value.
|
default void |
UIFontDrawing.drawCharWithRotationNearestNeighbor(MicroUIGraphicsContext gc,
char c,
MicroUIFont font,
int destX,
int destY,
int xRotation,
int yRotation,
float angle,
int alpha)
Draws a string applying a rotation and an alpha value.
|
void |
DisplayDrawer.drawCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter) |
default void |
UIDrawing.drawCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter)
Draws a circle covering the square defined by top-left point x,y (included) and bottom-right point
x+diameter-1,y+diameter-1 (included).
|
void |
DisplayDrawer.drawCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle) |
default void |
UIDrawing.drawCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle)
Draws a circular arc covering the square defined by top-left point x,y (included) and bottom-right point
x+diameter-1,y+diameter-1 (included).
|
void |
DisplayDrawer.drawEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height) |
default void |
UIDrawing.drawEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height)
Draws an ellipse covering the rectangle defined by top-left point x,y (included) and bottom-right point
x+width-1,y+height-1 (included).
|
void |
DisplayDrawer.drawEllipseArc(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
float startAngle,
float arcAngle) |
default void |
UIDrawing.drawEllipseArc(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
float startAngle,
float arcAngle)
Draws an elliptical arc covering the rectangle defined by top-left point x,y (included) and bottom-right point
x+width-1,y+height-1 (included) .
|
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).
|
void |
DisplayDrawer.drawHorizontalLine(MicroUIGraphicsContext gc,
int x1,
int x2,
int y) |
default void |
UIDrawing.drawHorizontalLine(MicroUIGraphicsContext gc,
int x1,
int x2,
int y)
Draws a horizontal line at between points x1,y (included) and x2,y (included).
|
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.
|
void |
DisplayDrawer.drawLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2) |
default void |
UIDrawing.drawLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2)
Draws a line at between points x1,y1 (included) and x2,y2 (included).
|
void |
DisplayDrawer.drawRectangle(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2) |
default void |
UIDrawing.drawRectangle(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2)
Draws a rectangle at from top-left point x1,y1 (included) and bottom-right point x2,y2 (included).
|
default void |
UIDrawing.drawRenderableString(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int charsWidth,
MicroUIRenderableString renderableString,
int x,
int y)
Draws a renderable string.
|
default void |
UIFontDrawing.drawRenderableString(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int charsWidth,
MicroUIRenderableString renderableString,
int x,
int y)
Draws a renderable string.
|
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).
|
void |
DisplayDrawer.drawRoundedRectangle(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
default void |
UIDrawing.drawRoundedRectangle(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Draws a rounded rectangle at from top-left point x,y (included) and bottom-right point x+width-1,y+height-1
(included).
|
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.
|
default void |
UIDrawing.drawScaledRenderableStringBilinear(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int width,
MicroUIRenderableString renderableString,
int x,
int y,
float xRatio,
float yRatio)
Draws a renderable string applying a scaling.
|
default void |
UIFontDrawing.drawScaledRenderableStringBilinear(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int charsWidth,
MicroUIRenderableString renderableString,
int x,
int y,
float xRatio,
float yRatio)
Draws a renderable string applying a scaling.
|
default void |
UIDrawing.drawScaledStringBilinear(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int x,
int y,
float xRatio,
float yRatio)
Draws a string applying a scaling.
|
default void |
UIFontDrawing.drawScaledStringBilinear(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int x,
int y,
float xRatio,
float yRatio)
Draws a string applying a scaling.
|
default void |
UIDrawing.drawString(MicroUIGraphicsContext gc,
char[] string,
MicroUIFont font,
int x,
int y)
Draws a string.
|
void |
DisplayDrawer.drawThickCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
int thickness) |
default void |
UIDrawing.drawThickCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
int thickness)
Draws a thick circle covering the square specified by its diameter.
|
void |
DisplayDrawer.drawThickCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle,
int thickness) |
default void |
UIDrawing.drawThickCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle,
int thickness)
Draws a thick arc covering the square specified by its diameter.
|
void |
DisplayDrawer.drawThickEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int thickness) |
default void |
UIDrawing.drawThickEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int thickness)
Draws a thick ellipse covering the specified rectangle.
|
void |
DisplayDrawer.drawThickFadedCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
int thickness,
int fade) |
default void |
UIDrawing.drawThickFadedCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
int thickness,
int fade)
Draws a thick circle with fade covering the square specified by its diameter.
|
void |
DisplayDrawer.drawThickFadedCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle,
int thickness,
int fade,
LLDWPainter.DrawingCap start,
LLDWPainter.DrawingCap end) |
default void |
UIDrawing.drawThickFadedCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle,
int thickness,
int fade,
LLDWPainter.DrawingCap start,
LLDWPainter.DrawingCap end)
Draws a thick circle with fade arc covering the specified square.
|
void |
DisplayDrawer.drawThickFadedEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int thickness,
int fade) |
default void |
UIDrawing.drawThickFadedEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int thickness,
int fade)
Draws a thick ellipse with fade covering the specified rectangle.
|
void |
DisplayDrawer.drawThickFadedLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2,
int thickness,
int fade,
LLDWPainter.DrawingCap start,
LLDWPainter.DrawingCap end) |
default void |
UIDrawing.drawThickFadedLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2,
int thickness,
int fade,
LLDWPainter.DrawingCap start,
LLDWPainter.DrawingCap end)
Draws a thick line with fade between given points.
|
void |
DisplayDrawer.drawThickFadedPoint(MicroUIGraphicsContext gc,
int x,
int y,
int thickness,
int fade) |
default void |
UIDrawing.drawThickFadedPoint(MicroUIGraphicsContext gc,
int x,
int y,
int thickness,
int fade)
Draws a thick point with fade at given position.
|
void |
DisplayDrawer.drawThickLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2,
int thickness) |
default void |
UIDrawing.drawThickLine(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2,
int thickness)
Draws a thick line between given points.
|
void |
DisplayDrawer.drawVerticalLine(MicroUIGraphicsContext gc,
int x,
int y1,
int y2) |
default void |
UIDrawing.drawVerticalLine(MicroUIGraphicsContext gc,
int x,
int y1,
int y2)
Draws a vertical line at between points x,y1 (included) and x,y2 (included).
|
void |
DisplayDrawer.fillCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter) |
default void |
UIDrawing.fillCircle(MicroUIGraphicsContext gc,
int x,
int y,
int diameter)
Fills a circle covering the square defined by top-left point x,y (included) and bottom-right point
x+diameter-1,y+diameter-1 (included).
|
void |
DisplayDrawer.fillCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle) |
default void |
UIDrawing.fillCircleArc(MicroUIGraphicsContext gc,
int x,
int y,
int diameter,
float startAngle,
float arcAngle)
Fills a circular arc covering the square defined by top-left point x,y (included) and bottom-right point
x+diameter-1,y+diameter-1 (included).
|
void |
DisplayDrawer.fillEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height) |
default void |
UIDrawing.fillEllipse(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height)
Fills an ellipse covering the rectangle defined by top-left point x,y (included) and bottom-right point
x+width-1,y+height-1 (included).
|
void |
DisplayDrawer.fillEllipseArc(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
float startAngle,
float arcAngle) |
default void |
UIDrawing.fillEllipseArc(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
float startAngle,
float arcAngle)
Fills an arc covering the rectangle defined by top-left point x,y (included) and bottom-right point
x+width-1,y+height-1 (included).
|
void |
DisplayDrawer.fillRectangle(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2) |
default void |
UIDrawing.fillRectangle(MicroUIGraphicsContext gc,
int x1,
int y1,
int x2,
int y2)
Fills a rectangle at from top-left point x1,y1 (included) and bottom-right point x2,y2 (included).
|
void |
DisplayDrawer.fillRoundedRectangle(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
default void |
UIDrawing.fillRoundedRectangle(MicroUIGraphicsContext gc,
int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Fills a rounded rectangle at from top-left point x,y (included) and bottom-right point x+width-1,y+height-1
(included).
|
UIDrawing |
LLUIDisplay.getUIDrawer(MicroUIGraphicsContext gc)
Gets the drawer used to draw on the given graphics context.
|
static void |
LLUIPainter.logDrawnRegion(MicroUIGraphicsContext gc,
int x,
int y,
int w,
int h)
Logs a drawn region.
|
static void |
LLUIPainter.logDrawnRegion(MicroUIGraphicsContext gc,
Rectangle rect)
Logs a drawn region.
|
static void |
LLUIPainter.logOutOfClip(MicroUIGraphicsContext gc)
Logs that a drawing is out-of-clip.
|
void |
DisplayDrawer.writePixel(MicroUIGraphicsContext gc,
int x,
int y) |
default void |
UIDrawing.writePixel(MicroUIGraphicsContext gc,
int x,
int y)
Draws a pixel at given position.
|