- All Known Implementing Classes:
- DirectGraphicsImp
- public interface DirectGraphics
|
Method Summary |
void |
drawImage(javax.microedition.lcdui.Image image,
int x,
int y,
int anchor,
int manipulation)
|
void |
drawPixels(byte[] pixels,
byte[] transparencyMask,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
|
void |
drawPixels(int[] pixels,
boolean transparency,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
|
void |
drawPixels(short[] pixels,
boolean transparency,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
|
void |
drawPolygon(int[] xPoints,
int xOffset,
int[] yPoints,
int yOffset,
int nPoints,
int argbColor)
|
void |
drawTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int argbColor)
|
void |
fillPolygon(int[] xPoints,
int xOffset,
int[] yPoints,
int yOffset,
int nPoints,
int argbColor)
|
void |
fillTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int argbColor)
|
int |
getAlphaComponent()
|
int |
getNativePixelFormat()
|
void |
getPixels(byte[] pixels,
byte[] transparencyMask,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
|
void |
getPixels(int[] pixels,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
|
void |
getPixels(short[] pixels,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
|
void |
setARGBColor(int i)
|
FLIP_HORIZONTAL
public static final int FLIP_HORIZONTAL
- See Also:
- Constant Field Values
FLIP_VERTICAL
public static final int FLIP_VERTICAL
- See Also:
- Constant Field Values
ROTATE_90
public static final int ROTATE_90
- See Also:
- Constant Field Values
ROTATE_180
public static final int ROTATE_180
- See Also:
- Constant Field Values
ROTATE_270
public static final int ROTATE_270
- See Also:
- Constant Field Values
TYPE_BYTE_1_GRAY
public static final int TYPE_BYTE_1_GRAY
- See Also:
- Constant Field Values
TYPE_BYTE_1_GRAY_VERTICAL
public static final int TYPE_BYTE_1_GRAY_VERTICAL
- See Also:
- Constant Field Values
TYPE_BYTE_2_GRAY
public static final int TYPE_BYTE_2_GRAY
- See Also:
- Constant Field Values
TYPE_BYTE_4_GRAY
public static final int TYPE_BYTE_4_GRAY
- See Also:
- Constant Field Values
TYPE_BYTE_8_GRAY
public static final int TYPE_BYTE_8_GRAY
- See Also:
- Constant Field Values
TYPE_BYTE_332_RGB
public static final int TYPE_BYTE_332_RGB
- See Also:
- Constant Field Values
TYPE_USHORT_4444_ARGB
public static final int TYPE_USHORT_4444_ARGB
- See Also:
- Constant Field Values
TYPE_USHORT_444_RGB
public static final int TYPE_USHORT_444_RGB
- See Also:
- Constant Field Values
TYPE_USHORT_555_RGB
public static final int TYPE_USHORT_555_RGB
- See Also:
- Constant Field Values
TYPE_USHORT_1555_ARGB
public static final int TYPE_USHORT_1555_ARGB
- See Also:
- Constant Field Values
TYPE_USHORT_565_RGB
public static final int TYPE_USHORT_565_RGB
- See Also:
- Constant Field Values
TYPE_INT_888_RGB
public static final int TYPE_INT_888_RGB
- See Also:
- Constant Field Values
TYPE_INT_8888_ARGB
public static final int TYPE_INT_8888_ARGB
- See Also:
- Constant Field Values
drawImage
public void drawImage(javax.microedition.lcdui.Image image,
int x,
int y,
int anchor,
int manipulation)
drawPixels
public void drawPixels(byte[] pixels,
byte[] transparencyMask,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
drawPixels
public void drawPixels(int[] pixels,
boolean transparency,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
drawPixels
public void drawPixels(short[] pixels,
boolean transparency,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int manipulation,
int format)
drawPolygon
public void drawPolygon(int[] xPoints,
int xOffset,
int[] yPoints,
int yOffset,
int nPoints,
int argbColor)
drawTriangle
public void drawTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int argbColor)
fillPolygon
public void fillPolygon(int[] xPoints,
int xOffset,
int[] yPoints,
int yOffset,
int nPoints,
int argbColor)
fillTriangle
public void fillTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int argbColor)
getAlphaComponent
public int getAlphaComponent()
getNativePixelFormat
public int getNativePixelFormat()
getPixels
public void getPixels(byte[] pixels,
byte[] transparencyMask,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
getPixels
public void getPixels(int[] pixels,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
getPixels
public void getPixels(short[] pixels,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
int format)
setARGBColor
public void setARGBColor(int i)