Package | Description |
---|---|
ej.microui.display |
Contains display management.
|
ej.microui.display.shape |
Contains shapes rendering management.
|
ej.microui.display.transform |
Contains image transformation management.
|
Modifier and Type | Class and Description |
---|---|
class |
ExplicitFlush
An
ExplicitFlush is a GraphicsContext where flushing data to the screen must be done
explicitly by the application. |
Modifier and Type | Method and Description |
---|---|
GraphicsContext |
Image.getGraphicsContext()
Returns a new
GraphicsContext object to draw on the image. |
GraphicsContext |
Display.getNewGraphicsContext()
Returns a new
GraphicsContext which works on the same system screen as this display. |
Modifier and Type | Method and Description |
---|---|
void |
RenderableString.draw(GraphicsContext gc,
int x,
int y,
int anchor)
Draws the string using the font and given graphics context color.
|
abstract void |
Displayable.paint(GraphicsContext g)
Draws the displayable.
|
Modifier and Type | Method and Description |
---|---|
void |
AntiAliasedShapes.drawCircle(GraphicsContext gc,
int x,
int y,
int diameter)
Draws the outline of a circle covering the rectangle specified by its diameter, using the
GraphicsContext
's current color.The center of the circle is defined as the center of the rectangle whose origin is at (x,y)
(upper-left corner) and whose dimension is given by diameter .If diameter is negative, nothing is drawn. |
void |
AntiAliasedShapes.drawCircleArc(GraphicsContext gc,
int x,
int y,
int diameter,
int startAngle,
int arcAngle)
Draws the outline of a circular arc covering the specified square, using the current color, stroke style and caps
The arc is drawn from startAngle up to arcAngle degrees. |
void |
AntiAliasedShapes.drawEllipse(GraphicsContext gc,
int x,
int y,
int width,
int height)
Draws the outline of a ellipse covering the specified rectangle, using the
GraphicsContext 's current
color.The center of the ellipse is defined as the center of the rectangle whose origin is at (x,y)
(upper-left corner) and whose dimension is given by width and height .If either width or height is negative, nothing is drawn. |
void |
AntiAliasedShapes.drawLine(GraphicsContext gc,
int x1,
int y1,
int x2,
int y2)
|
void |
AntiAliasedShapes.drawPoint(GraphicsContext gc,
int x,
int y)
Draws a point at
(x,y) using the GraphicsContext 's current color. |
Modifier and Type | Method and Description |
---|---|
void |
ImageDeformation.draw(GraphicsContext gc,
Image image,
int[] xys,
int x,
int y,
int anchor)
Draws a deformed image at the given anchor point.
The image anchor point is at position @{code (x,y)}. |
void |
ImageScale.draw(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
|
void |
ImageFlip.draw(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Draw the
Image in the GraphicsContext at given anchor position and using the current
ImageFlip.Action . |
void |
ImageRotation.drawBilinear(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Draws the given
Image applying the current rotation. |
void |
ImageScale.drawBilinear(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Draw the
Image in the GraphicsContext at given anchor position and using the current scaling
factor. |
void |
ImageRotation.drawNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Draws the given
Image applying the current rotation. |
void |
ImageScale.drawNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
int anchor)
Draw the
Image in the GraphicsContext at given anchor position and using the current scaling
factor. |