public final class Grayer extends Graphics2DDelegate
myDelegate
Constructor and Description |
---|
Grayer(java.awt.Graphics2D g2d,
java.awt.Color background) |
Modifier and Type | Method and Description |
---|---|
java.awt.Graphics |
create() |
void |
drawChars(char[] data,
int offset,
int length,
int x,
int y) |
void |
drawString(java.text.AttributedCharacterIterator iterator,
float x,
float y) |
void |
drawString(java.text.AttributedCharacterIterator iterator,
int x,
int y) |
void |
drawString(java.lang.String s,
float x,
float y) |
void |
drawString(java.lang.String str,
int x,
int y) |
void |
setColor(java.awt.Color color) |
addRenderingHints, clearRect, clip, clipRect, copyArea, dispose, draw, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolyline, drawRenderableImage, drawRenderedImage, drawRoundRect, fill, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getColor, getComposite, getDelegate, getDeviceConfiguration, getFont, getFontMetrics, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, rotate, rotate, scale, setBackground, setClip, setClip, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, transform, translate, translate
public void setColor(java.awt.Color color)
setColor
in class Graphics2DDelegate
public void drawString(java.text.AttributedCharacterIterator iterator, float x, float y)
drawString
in class Graphics2DDelegate
public void drawString(java.text.AttributedCharacterIterator iterator, int x, int y)
drawString
in class Graphics2DDelegate
public void drawString(java.lang.String s, float x, float y)
drawString
in class Graphics2DDelegate
public void drawString(java.lang.String str, int x, int y)
drawString
in class Graphics2DDelegate
public void drawChars(char[] data, int offset, int length, int x, int y)
drawChars
in class Graphics2DDelegate
public java.awt.Graphics create()
create
in class Graphics2DDelegate