Package | Description |
---|---|
ej.drawing | |
ej.microui.display |
Modifier and Type | Method and Description |
---|---|
static void |
TransformPainter.drawDeformedImage(GraphicsContext gc,
Image image,
int x,
int y,
int[] xys)
Draws a deformed image at the given anchor top-left point.
The deformed image is identified by its four corner points. |
static void |
TransformPainter.drawFlippedImage(GraphicsContext gc,
Image image,
int x,
int y,
TransformPainter.Flip flip)
Draws the image in the graphics context at given anchor top-left position, using the given flip.
|
static void |
TransformPainter.drawFlippedImage(GraphicsContext gc,
Image image,
int x,
int y,
TransformPainter.Flip flip,
int alpha)
Draws the image in the graphics context at given anchor top-left position, using the given flip and opacity
level.
|
static void |
TransformPainter.drawRotatedImageBilinear(GraphicsContext gc,
Image image,
int x,
int y,
int rx,
int ry,
float angle)
Draws the image applying the given rotation.
|
static void |
TransformPainter.drawRotatedImageBilinear(GraphicsContext gc,
Image image,
int x,
int y,
int rx,
int ry,
float angle,
int alpha)
Draws the image applying the given rotation fixing the opacity level.
|
static void |
TransformPainter.drawRotatedImageNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
int rx,
int ry,
float angle)
Draws the image applying the given rotation.
|
static void |
TransformPainter.drawRotatedImageNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
int rx,
int ry,
float angle,
int alpha)
Draws the image applying the given rotation and opacity level.
|
static void |
TransformPainter.drawScaledImageBilinear(GraphicsContext gc,
Image image,
int x,
int y,
float factorX,
float factorY)
Draws the image in the graphics context at given anchor top-left position and using the given scaling factor.
|
static void |
TransformPainter.drawScaledImageBilinear(GraphicsContext gc,
Image image,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws the image in the graphics context at given anchor top-left position and using the given scaling factor and
opacity level.
|
static void |
TransformPainter.drawScaledImageNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
float factorX,
float factorY)
Draws the image in the graphics context at given anchor top-left position and using the given scaling factor.
|
static void |
TransformPainter.drawScaledImageNearestNeighbor(GraphicsContext gc,
Image image,
int x,
int y,
float factorX,
float factorY,
int alpha)
Draws the image in the graphics context at given anchor top-left position and using the given scaling factor and
opacity level.
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedImage
A
BufferedImage represents a mutable image backed by a pixel buffer. |
class |
ResourceImage
A
ResourceImage represents an image which may require dynamic allocation in order to be created. |
Modifier and Type | Method and Description |
---|---|
static Image |
Image.getImage(String path)
Gets an immutable image from a resource.
|
Modifier and Type | Method and Description |
---|---|
static void |
Painter.drawImage(GraphicsContext gc,
Image image,
int x,
int y)
Draws the image at the given anchor top-left point.
|
static void |
Painter.drawImage(GraphicsContext gc,
Image image,
int x,
int y,
int alpha)
Draws the image at the given anchor top-left point.
|
static void |
Painter.drawImageRegion(GraphicsContext gc,
Image image,
int xSource,
int ySource,
int width,
int height,
int xDestination,
int yDestination)
Draws a region of the image.
|
static void |
Painter.drawImageRegion(GraphicsContext gc,
Image image,
int xSource,
int ySource,
int width,
int height,
int xDestination,
int yDestination,
int alpha)
Draws a region of an image.
|