public interface VGDrawing
| Modifier and Type | Method and Description |
|---|---|
default int |
drawImage(ej.microui.display.MicroUIGraphicsContext gc,
MicroVGImage image,
float[] matrix,
int alpha,
long elapsedTime,
float[] colorMatrix)
Draws an image with transformation and opacity.
|
default void |
drawPath(ej.microui.display.MicroUIGraphicsContext gc,
java.awt.geom.GeneralPath path,
float x,
float y,
float[] matrix,
int fillRule,
int blend,
VGPaint paint)
Draws a general path filled with the given color representation.
|
default int |
drawString(ej.microui.display.MicroUIGraphicsContext gc,
char[] string,
int face,
float size,
float x,
float y,
float[] matrix,
int blendMode,
VGPaint p,
float letterSpacing,
float radius,
int direction)
Draws a string with the given painter.
|
ej.microui.display.MicroUIImageFormat |
handledFormat()
Gets the supported buffered image format.
|
ej.microui.display.MicroUIImageFormat handledFormat()
default void drawPath(ej.microui.display.MicroUIGraphicsContext gc,
java.awt.geom.GeneralPath path,
float x,
float y,
float[] matrix,
int fillRule,
int blend,
VGPaint paint)
gc - the destinationpath - the path to drawx - the destination X coordinatey - the destination Y coordinatematrix - the deformation to applyfillRule - the fill typeblend - the blend modepaint - the color representation to usedefault int drawImage(ej.microui.display.MicroUIGraphicsContext gc,
MicroVGImage image,
float[] matrix,
int alpha,
long elapsedTime,
float[] colorMatrix)
gc - the graphics context to draw onimage - the image to drawmatrix - the transformation matrix to applyalpha - the global opacity rendering valueelapsedTime - the elapsed time since the beginning of the animation, in millisecondscolorMatrix - the color matrix used to transform colorsdefault int drawString(ej.microui.display.MicroUIGraphicsContext gc,
char[] string,
int face,
float size,
float x,
float y,
float[] matrix,
int blendMode,
VGPaint p,
float letterSpacing,
float radius,
int direction)
LLVGEngine.drawString(MicroUIGraphicsContext, char[], int, float, float, float, float[], int, VGPaint, float, float, int)
method.gc - the destinationstring - the array of characters to drawface - the font face to usesize - the font size, in pixelsx - the destination X coordinatey - the destination Y coordinatematrix - the deformation to applyblendMode - the blend modep - the color representation to useletterSpacing - the extra letter spacing to useradius - the radius of the circledirection - the direction of the text along the circleLLVGPainter.RETURN_SUCCESS on success or an error code