public class PixmapFactory
extends java.lang.Object
Constructor and Description |
---|
PixmapFactory() |
Modifier and Type | Method and Description |
---|---|
static com.badlogic.gdx.graphics.Pixmap |
createPixmap(java.awt.image.BufferedImage image)
Builds and returns a Pixmap based on the input image.
|
static int |
getRGBA(int rgb)
Shifts java.awt.Color ARGB values to gdx RGBA values.
|
public static com.badlogic.gdx.graphics.Pixmap createPixmap(java.awt.image.BufferedImage image)
image
- public static int getRGBA(int rgb)
rgb
-