public class Log
extends java.lang.Object
Log parameters are associated with the MicroVG SystemView description file SYSVIEW_MicroVG.txt. If an
event is malformed, the log will not be correctly decoded.
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAW_IMAGE
Event identifier for "draw an image".
|
static int |
DRAW_PATH_COLOR
Event identifier for "draw a path with a color".
|
static int |
DRAW_PATH_GRADIENT
Event identifier for "draw a path with a gradient".
|
static int |
DRAW_STRING_COLOR
Event identifier for "draw a string with a color".
|
static int |
DRAW_STRING_GRADIENT
Event identifier for "draw a string with a gradient".
|
static int |
DRAW_STRING_ON_CIRCLE_COLOR
Event identifier for "draw a string on a circle with a color".
|
static int |
DRAW_STRING_ON_CIRCLE_GRADIENT
Event identifier for "draw a string on a circle with a gradient".
|
| Modifier and Type | Method and Description |
|---|---|
static int |
mapGraphicsContext(ej.microui.display.MicroUIGraphicsContext gc)
Maps a graphics context to an event parameter.
|
static int |
mapImage(MicroVGImage img)
Maps an image to an event parameter.
|
static void |
recordEvent(int eventId,
int... values)
Records a MicroVG event.
|
static void |
recordEventEnd(int eventId,
int... values)
Records the end of the execution of a MicroVG event.
|
public static final int DRAW_PATH_COLOR
public static final int DRAW_PATH_GRADIENT
public static final int DRAW_STRING_COLOR
public static final int DRAW_STRING_GRADIENT
public static final int DRAW_STRING_ON_CIRCLE_COLOR
public static final int DRAW_STRING_ON_CIRCLE_GRADIENT
public static final int DRAW_IMAGE
public static void recordEvent(int eventId,
int... values)
DRAW_PATH_COLOR and DRAW_IMAGE).eventId - the event identifiervalues - the event parameterspublic static void recordEventEnd(int eventId,
int... values)
recordEventEnd(int, int...) method. This method should not be called
for instantaneous events.eventId - the "end" event identifiervalues - the "end" event parameterspublic static int mapGraphicsContext(ej.microui.display.MicroUIGraphicsContext gc)
gc - the graphics context to logpublic static int mapImage(MicroVGImage img)
img - the image to log