Lines Matching defs:width

151      * is specified by the <code>width</code> and <code>height</code>
157 * @param width the width of the clipping rectangle.
163 public Graphics create(int x, int y, int width, int height) {
167 g.clipRect(0, 0, width, height);
304 * @param width the width of the rectangle to intersect the clip with
309 public abstract void clipRect(int x, int y, int width, int height);
319 * @param width the width of the new clip rectangle.
326 public abstract void setClip(int x, int y, int width, int height);
378 * @param width the width of the source rectangle.
383 public abstract void copyArea(int x, int y, int width, int height,
400 * <code>x</code> and <code>x&nbsp;+&nbsp;width&nbsp;-&nbsp;1</code>.
404 * <code>width</code> pixels wide by
411 * @param width the width of the rectangle to be filled.
416 public abstract void fillRect(int x, int y, int width, int height);
421 * <code>x</code> and <code>x&nbsp;+&nbsp;width</code>.
429 * @param width the width of the rectangle to be drawn.
434 public void drawRect(int x, int y, int width, int height) {
435 if ((width < 0) || (height < 0)) {
439 if (height == 0 || width == 0) {
440 drawLine(x, y, x + width, y + height);
442 drawLine(x, y, x + width - 1, y);
443 drawLine(x + width, y, x + width, y + height - 1);
444 drawLine(x + width, y + height, x + 1, y + height);
460 * @param width the width of the rectangle to clear.
468 public abstract void clearRect(int x, int y, int width, int height);
473 * are at <code>x</code> and <code>x&nbsp;+&nbsp;width</code>,
478 * @param width the width of the rectangle to be drawn.
486 public abstract void drawRoundRect(int x, int y, int width, int height,
492 * are at <code>x</code> and <code>x&nbsp;+&nbsp;width&nbsp;-&nbsp;1</code>,
497 * @param width the width of the rectangle to be filled.
505 public abstract void fillRoundRect(int x, int y, int width, int height,
516 * <code>width&nbsp;+&nbsp;1</code> pixels wide
520 * @param width the width of the rectangle to be drawn.
527 public void draw3DRect(int x, int y, int width, int height,
535 drawLine(x + 1, y, x + width - 1, y);
537 drawLine(x + 1, y + height, x + width, y + height);
538 drawLine(x + width, y, x + width, y + height - 1);
550 * @param width the width of the rectangle to be filled.
557 public void fill3DRect(int x, int y, int width, int height,
566 fillRect(x+1, y+1, width-2, height-2);
569 drawLine(x + 1, y, x + width - 2, y);
571 drawLine(x + 1, y + height - 1, x + width - 1, y + height - 1);
572 drawLine(x + width - 1, y, x + width - 1, y + height - 2);
580 * <code>width</code>, and <code>height</code> arguments.
583 * <code>width&nbsp;+&nbsp;1</code> pixels wide
589 * @param width the width of the oval to be drawn.
593 public abstract void drawOval(int x, int y, int width, int height);
602 * @param width the width of the oval to be filled.
606 public abstract void fillOval(int x, int y, int width, int height);
621 * <code>width</code> and <code>height</code> arguments.
624 * <code>width&nbsp;+&nbsp;1</code> pixels wide
638 * @param width the width of the arc to be drawn.
645 public abstract void drawArc(int x, int y, int width, int height,
660 * <code>width</code> and <code>height</code> arguments.
663 * <code>width&nbsp;+&nbsp;1</code> pixels wide
677 * @param width the width of the arc to be filled.
684 public abstract void fillArc(int x, int y, int width, int height,
911 * @param width the width of the rectangle.
922 int width, int height,
933 * width and height of the specified image with the given color and then
976 * width and height of the specified image with the given color and then
996 * @param width the width of the rectangle.
1009 int width, int height,
1075 * width and height of the specified image with the given color and then
1208 * @param width the width of the rectangle to test against the clip
1214 public boolean hitClip(int x, int y, int width, int height) {
1222 return clipRect.intersects(x, y, width, height);
1249 r.width = clipRect.width;