| Package | Description |
|---|---|
| ej.microui.display |
Contains classes to implement a MicroUI Display and to implement MicroUI Painter drawings.
|
| Modifier and Type | Method and Description |
|---|---|
MicroUIFont |
LLUIDisplay.mapMicroUIFont(byte[] font)
Maps a MicroUI Font byte array (retrieved by MicroEJ application calling
font.getSNIContext()) on a
MicroUIFont. |
| 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 |
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.
|
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 |
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.
|
UIFontDrawing |
LLUIDisplay.getUIFontDrawer(MicroUIFont font)
Gets the font drawer used to draw the given font.
|
default int |
UIDrawing.initializeRenderableStringSNIContext(char[] string,
MicroUIFont font,
MicroUIRenderableString renderableString)
Computes the rendered width of a string and fills the SNI context.
|
default int |
UIFontDrawing.initializeRenderableStringSNIContext(char[] string,
MicroUIFont font,
MicroUIRenderableString renderableString)
Computes the rendered width of a string and fills the SNI context.
|
default int |
UIDrawing.stringWidth(char[] string,
MicroUIFont font)
Computes the rendered width of a string.
|
default int |
UIFontDrawing.stringWidth(char[] string,
MicroUIFont font)
Computes the rendered width of a string.
|