javax.microedition.lcdui
Class Graphics
java.lang.Object
javax.microedition.lcdui.Graphics
public class Graphics
- extends java.lang.Object
|
Constructor Summary |
Graphics(android.graphics.Canvas wrapped)
|
|
Method Summary |
void |
drawImage(Image image,
int x,
int y,
int anchor)
|
void |
drawLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawRect(int x,
int y,
int width,
int height)
|
void |
drawRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
boolean processAlpha)
|
void |
drawString(java.lang.String str,
int x,
int y,
int anchor)
|
void |
fillRect(int x,
int y,
int width,
int height)
|
void |
fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
|
void |
fillTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
|
int |
getClipHeight()
|
int |
getClipWidth()
|
int |
getClipX()
|
int |
getClipY()
|
void |
setClip(int x,
int y,
int width,
int height)
|
void |
setColor(int rgb)
|
void |
setFont(Font font)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASELINE
public static final int BASELINE
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
TOP
public static final int TOP
- See Also:
- Constant Field Values
VCENTER
public static final int VCENTER
- See Also:
- Constant Field Values
HCENTER
public static final int HCENTER
- See Also:
- Constant Field Values
DOTTED
public static final int DOTTED
- See Also:
- Constant Field Values
SOLID
public static final int SOLID
- See Also:
- Constant Field Values
Graphics
public Graphics(android.graphics.Canvas wrapped)
drawImage
public void drawImage(Image image,
int x,
int y,
int anchor)
drawLine
public void drawLine(int x1,
int y1,
int x2,
int y2)
drawRect
public void drawRect(int x,
int y,
int width,
int height)
drawRGB
public void drawRGB(int[] rgbData,
int offset,
int scanlength,
int x,
int y,
int width,
int height,
boolean processAlpha)
drawString
public void drawString(java.lang.String str,
int x,
int y,
int anchor)
fillRect
public void fillRect(int x,
int y,
int width,
int height)
fillTriangle
public void fillTriangle(int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
getClipHeight
public int getClipHeight()
getClipWidth
public int getClipWidth()
getClipX
public int getClipX()
getClipY
public int getClipY()
setClip
public void setClip(int x,
int y,
int width,
int height)
setColor
public void setColor(int rgb)
setFont
public void setFont(Font font)
fillRoundRect
public void fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)