Package | Description |
---|---|
ej.drawing | |
ej.microui.display |
Modifier and Type | Method and Description |
---|---|
static void |
TransformPainter.drawRotatedCharBilinear(GraphicsContext gc,
Font font,
char c,
int x,
int y,
int rx,
int ry,
float angle)
Draws the character applying the given rotation.
|
static void |
TransformPainter.drawRotatedCharBilinear(GraphicsContext gc,
Font font,
char c,
int x,
int y,
int rx,
int ry,
float angle,
int alpha)
Draws the character applying the given rotation and opacicity level.
|
static void |
TransformPainter.drawRotatedCharNearestNeighbor(GraphicsContext gc,
Font font,
char c,
int x,
int y,
int rx,
int ry,
float angle)
Draws the character applying the given rotation.
|
static void |
TransformPainter.drawRotatedCharNearestNeighbor(GraphicsContext gc,
Font font,
char c,
int x,
int y,
int rx,
int ry,
float angle,
int alpha)
Draws the character applying the given rotation and opacity level.
|
static void |
TransformPainter.drawScaledCharBilinear(GraphicsContext gc,
char character,
Font font,
int x,
int y,
float factorX,
float factorY)
Draws the character in the graphics context at given anchor top-left position and using the given scaling factor.
|
static void |
TransformPainter.drawScaledStringBilinear(GraphicsContext gc,
String string,
Font font,
int x,
int y,
float factorX,
float factorY)
Draws the string in the graphics context at given anchor top-left position and using the given scaling factor.
|
static void |
TransformPainter.drawScaledSubstringBilinear(GraphicsContext gc,
String string,
int offset,
int length,
Font font,
int x,
int y,
float factorX,
float factorY)
Draws the substring in the graphics context at given anchor top-left position and using the given scaling factor.
|
Modifier and Type | Method and Description |
---|---|
static Font[] |
Font.getAllFonts()
Returns an array containing all the fonts of the system.
|
static Font |
Font.getDefaultFont()
Returns the default font of the system.
|
Font |
RenderableString.getFont()
Returns the font associated with this renderable string.
|
static Font |
Font.getFont(String path)
Returns the font matching a given path.
|
Modifier and Type | Method and Description |
---|---|
static void |
Painter.drawChar(GraphicsContext gc,
char character,
Font font,
int x,
int y)
Draws a character.
|
static void |
Painter.drawString(GraphicsContext gc,
String string,
Font font,
int x,
int y)
Draws a string.
|
static void |
Painter.drawSubstring(GraphicsContext gc,
String string,
int offset,
int length,
Font font,
int x,
int y)
Draws a subset of a string.
|
Constructor and Description |
---|
RenderableString(String string,
Font font)
Creates a renderable string.
|