| java.lang.Object org.graphics.Drawable
Drawable | public class Drawable (Code) | | |
Method Summary | |
public void | clear() | public void | clipRect(int x, int y, int width, int height) | public void | clipRect(Rectangle r) | public void | copyArea(Point2D p, Dimension d, Point2D dst, int anchor) | public void | drawArc(Point2D p, Dimension d, int startAngle, int arcAngle, boolean filled) | public void | drawChar(char character, int x, int y, int anchor) | public void | drawChar(char character, Point2D p, int anchor) | public void | drawChars(char[] data, int offset, int length, int x, int y, int anchor) | public void | drawChars(char[] data, int offset, int length, Point2D p, int anchor) | public void | drawImage(Image img, int x, int y, ImageObserver observer) | public void | drawImage(Image img, Point2D p, ImageObserver observer) | public void | drawImage(Image img, int x, int y, int anchor) | public void | drawImage(Image img, Point2D p, int anchor) | public void | drawLine(int fromx, int fromy, int tox, int toy) | public void | drawLine(Point2D from, Point2D to) | public void | drawPoint(Point2D p) | public void | drawPolygon(int n, Point2D[] points, boolean filled) | public void | drawRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height, boolean processAlpha) | public void | drawRGB(int[] rgbData, int offset, int scanlength, Point2D p, Dimension d, boolean processAlpha) | public void | drawRect(int x, int y, int width, int height, boolean filled) | public void | drawRect(Point2D p, Dimension d, boolean filled) | public void | drawRegion(Image src, int srcx, int srcy, int width, int height, int transform, int dstx, int dsty, int anchor) | public void | drawRegion(Image src, Point2D psrc, Dimension d, int transform, Point2D dest, int anchor) | public void | drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) | public void | drawRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight) | public void | drawString(String str, int x, int y, int anchor) | public void | drawString(String str, Point2D p, int anchor) | public void | drawVString(String str, Point2D p) | public void | drawVString(String str, Point2D p, int anchor) | public void | drawVString(String str, Point2D p, int anchor, double sx, double sy, double rotindegree, double slantintanrad) | public Rectangle | extentVString(String str, Point2D p, int anchor, Rectangle r) | public void | fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) | public void | fillRoundRect(Point2D p, Dimension d, int arcWidth, int arcHeight) | public void | fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3) | public void | fillTriangle(Point p1, Point p2, Point p3) | public void | flush() | protected int | fromX(int x) | protected int | fromY(int y) | public Color | getBackground() | public Rectangle | getClipBounds(Rectangle r) | public Rectangle | getClipBounds(Rectangle r) | public Rectangle | getClipBounds() | public Color | getColor() | public Font | getFont() | public Graphics | getGraphics() | public int | getGrayScale() | public short | getLineStipple() | public int | getLineType() | public int | getLineWidth() | public VFont | getVFont() | public boolean | needsFlush() | public void | resize(int newWidth, int newHeight) | protected static int | round(double x) | public void | setBackground(Color c) | public void | setClip(int x, int y, int width, int height) | public void | setClip(Rectangle r) | public void | setColor(Color c) | public void | setFont(Font f) | public void | setGrayScale(int value) | public void | setLineStipple(short stipple) | public void | setLineStipple(int factor, short stipple) | public void | setLineWidth(int width) | public void | setVFont(String name) | public void | setVFont(VFont vf) | protected int | toX(Point2D p) | protected int | toX(int x) | protected int | toY(Point2D p) | protected int | toY(int y) | public void | xline(Point2D from, Point2D to) | public void | xline(int fromx, int fromy, int tox, int toy) |
LT_DOTTED | final public static short LT_DOTTED(Code) | | |
LT_SOLID | final public static short LT_SOLID(Code) | | |
linestipple | protected short linestipple(Code) | | |
linestipplefactor | protected int linestipplefactor(Code) | | |
linewidth | protected int linewidth(Code) | | |
needflush | protected boolean needflush(Code) | | |
Drawable | public Drawable(Graphics agraphics, int width, int height)(Code) | | |
clear | public void clear()(Code) | | |
clipRect | public void clipRect(int x, int y, int width, int height)(Code) | | |
drawChar | public void drawChar(char character, int x, int y, int anchor)(Code) | | |
drawChar | public void drawChar(char character, Point2D p, int anchor)(Code) | | |
drawChars | public void drawChars(char[] data, int offset, int length, int x, int y, int anchor)(Code) | | |
drawChars | public void drawChars(char[] data, int offset, int length, Point2D p, int anchor)(Code) | | |
drawImage | public void drawImage(Image img, int x, int y, int anchor)(Code) | | |
drawLine | public void drawLine(int fromx, int fromy, int tox, int toy)(Code) | | |
drawPolygon | public void drawPolygon(int n, Point2D[] points, boolean filled)(Code) | | |
drawRGB | public void drawRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height, boolean processAlpha)(Code) | | |
drawRGB | public void drawRGB(int[] rgbData, int offset, int scanlength, Point2D p, Dimension d, boolean processAlpha)(Code) | | |
drawRect | public void drawRect(int x, int y, int width, int height, boolean filled)(Code) | | |
drawRegion | public void drawRegion(Image src, int srcx, int srcy, int width, int height, int transform, int dstx, int dsty, int anchor)(Code) | | |
drawRoundRect | public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code) | | |
drawString | public void drawString(String str, int x, int y, int anchor)(Code) | | |
drawVString | public void drawVString(String str, Point2D p, int anchor, double sx, double sy, double rotindegree, double slantintanrad)(Code) | | |
fillRoundRect | public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code) | | |
fillTriangle | public void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3)(Code) | | |
flush | public void flush()(Code) | | |
fromX | protected int fromX(int x)(Code) | | |
fromY | protected int fromY(int y)(Code) | | |
getGrayScale | public int getGrayScale()(Code) | | |
getLineStipple | public short getLineStipple()(Code) | | |
getLineType | public int getLineType()(Code) | | |
getLineWidth | public int getLineWidth()(Code) | | |
needsFlush | public boolean needsFlush()(Code) | | |
resize | public void resize(int newWidth, int newHeight)(Code) | | |
round | protected static int round(double x)(Code) | | |
setClip | public void setClip(int x, int y, int width, int height)(Code) | | |
setGrayScale | public void setGrayScale(int value)(Code) | | |
setLineStipple | public void setLineStipple(short stipple)(Code) | | |
setLineStipple | public void setLineStipple(int factor, short stipple)(Code) | | |
setLineWidth | public void setLineWidth(int width)(Code) | | |
toX | protected int toX(int x)(Code) | | |
toY | protected int toY(int y)(Code) | | |
xline | public void xline(int fromx, int fromy, int tox, int toy)(Code) | | |
|
|