Lines Matching refs:graphics
42 private final Graphics2D graphics; field in OverrideGraphics2D
60 public OverrideGraphics2D(Graphics2D graphics) in OverrideGraphics2D() argument
62 this.graphics = graphics; in OverrideGraphics2D()
63 this.color = graphics.getColor(); in OverrideGraphics2D()
64 this.font = graphics.getFont(); in OverrideGraphics2D()
65 this.paint = graphics.getPaint(); in OverrideGraphics2D()
66 this.stroke = graphics.getStroke(); in OverrideGraphics2D()
78 graphics.setColor(color != null ? color : this.color); in setOverrideColor()
89 graphics.setFont(font != null ? font : this.font); in setOverrideFont()
100 graphics.setPaint(paint != null ? paint : this.paint); in setOverridePaint()
111 graphics.setStroke(stroke != null ? stroke : this.stroke); in setOverrideStroke()
124 graphics.setXORMode(color); in setOverrideXORMode()
128 graphics.setPaintMode(); in setOverrideXORMode()
140 graphics.setColor(color); in setColor()
149 graphics.setFont(font); in setFont()
158 graphics.setPaint(paint); in setPaint()
167 graphics.setStroke(stroke); in setStroke()
175 graphics.setXORMode(color); in setXORMode()
183 graphics.setPaintMode(); in setPaintMode()
190 return overrideColor != null ? color : graphics.getColor(); in getColor()
195 return overrideFont != null ? font : graphics.getFont(); in getFont()
200 return overridePaint != null ? paint : graphics.getPaint(); in getPaint()
205 return overrideStroke != null ? stroke : graphics.getStroke(); in getStroke()
211 OverrideGraphics2D g = new OverrideGraphics2D((Graphics2D)graphics.create()); in create()
222 … OverrideGraphics2D g = new OverrideGraphics2D((Graphics2D)graphics.create(x, y, width, height)); in create()
236 graphics.addRenderingHints(hints); in addRenderingHints()
241 graphics.clearRect(x, y, width, height); in clearRect()
246 graphics.clip(s); in clip()
251 graphics.clipRect(x, y, width, height); in clipRect()
256 graphics.copyArea(x, y, width, height, dx, dy); in copyArea()
261 graphics.dispose(); in dispose()
266 graphics.draw(s); in draw()
271 graphics.draw3DRect(x, y, width, height, raised); in draw3DRect()
276 graphics.drawArc(x, y, width, height, startAngle, arcAngle); in drawArc()
281 graphics.drawBytes(data, offset, length, x, y); in drawBytes()
286 graphics.drawChars(data, offset, length, x, y); in drawChars()
291 graphics.drawGlyphVector(g, x, y); in drawGlyphVector()
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
306 return graphics.drawImage(img, x, y, width, height, bgcolor, observer); in drawImage()
311 return graphics.drawImage(img, x, y, width, height, observer); in drawImage()
316 return graphics.drawImage(img, x, y, bgcolor, observer); in drawImage()
321 return graphics.drawImage(img, x, y, observer); in drawImage()
326 return graphics.drawImage(img, xform, obs); in drawImage()
331 graphics.drawImage(img, op, x, y); in drawImage()
336 graphics.drawLine(x1, y1, x2, y2); in drawLine()
341 graphics.drawOval(x, y, width, height); in drawOval()
346 graphics.drawPolygon(xPoints, yPoints, nPoints); in drawPolygon()
351 graphics.drawPolygon(p); in drawPolygon()
356 graphics.drawPolyline(xPoints, yPoints, nPoints); in drawPolyline()
361 graphics.drawRect(x, y, width, height); in drawRect()
366 graphics.drawRenderableImage(img, xform); in drawRenderableImage()
371 graphics.drawRenderedImage(img, xform); in drawRenderedImage()
376 graphics.drawRoundRect(x, y, width, height, arcWidth, arcHeight); in drawRoundRect()
381 graphics.drawString(s, x, y); in drawString()
386 graphics.drawString(str, x, y); in drawString()
391 graphics.drawString(iterator, x, y); in drawString()
396 graphics.drawString(iterator, x, y); in drawString()
401 return graphics.equals(obj); in equals()
406 graphics.fill(s); in fill()
411 graphics.fill3DRect(x, y, width, height, raised); in fill3DRect()
416 graphics.fillArc(x, y, width, height, startAngle, arcAngle); in fillArc()
421 graphics.fillOval(x, y, width, height); in fillOval()
426 graphics.fillPolygon(xPoints, yPoints, nPoints); in fillPolygon()
431 graphics.fillPolygon(p); in fillPolygon()
436 graphics.fillRect(x, y, width, height); in fillRect()
441 graphics.fillRoundRect(x, y, width, height, arcWidth, arcHeight); in fillRoundRect()
446 return graphics.getBackground(); in getBackground()
451 return graphics.getClip(); in getClip()
456 return graphics.getClipBounds(); in getClipBounds()
461 return graphics.getClipBounds(r); in getClipBounds()
466 return graphics.getClipRect(); in getClipRect()
471 return graphics.getComposite(); in getComposite()
476 return graphics.getDeviceConfiguration(); in getDeviceConfiguration()
481 return graphics.getFontMetrics(); in getFontMetrics()
486 return graphics.getFontMetrics(f); in getFontMetrics()
491 return graphics.getFontRenderContext(); in getFontRenderContext()
496 return graphics.getRenderingHint(hintKey); in getRenderingHint()
501 return graphics.getRenderingHints(); in getRenderingHints()
506 return graphics.getTransform(); in getTransform()
511 return graphics.hashCode(); in hashCode()
516 return graphics.hit(rect, s, onStroke); in hit()
521 return graphics.hitClip(x, y, width, height); in hitClip()
526 graphics.rotate(theta); in rotate()
531 graphics.rotate(theta, x, y); in rotate()
536 graphics.scale(sx, sy); in scale()
541 graphics.setBackground(color); in setBackground()
546 graphics.setClip(x, y, width, height); in setClip()
551 graphics.setClip(clip); in setClip()
556 graphics.setComposite(comp); in setComposite()
561 graphics.setRenderingHint(hintKey, hintValue); in setRenderingHint()
566 graphics.setRenderingHints(hints); in setRenderingHints()
571 graphics.setTransform(Tx); in setTransform()
576 graphics.shear(shx, shy); in shear()
581 return graphics.toString(); in toString()
586 graphics.transform(Tx); in transform()
591 graphics.translate(tx, ty); in translate()
596 graphics.translate(x, y); in translate()