void | addRenderingHints(Map<K,V> hints)
|
void | clearRect(int x, int y, int width, int height)
|
void | clip(Shape s) - Intersects the current clip with the shape
|
void | clipRect(int x, int y, int width, int height)
|
abstract void | copyArea(int x, int y, int width, int height, int dx, int dy)
|
abstract Graphics | create() - Context-sensitive methods are declared abstract.
|
void | delete()
|
void | dispose()
|
void | draw(Shape s) - Draws an outline around a shape using the current stroke and paint.
|
void | draw3DRect(int x, int y, int width, int height, boolean raised)
|
void | drawArc(int x, int y, int width, int height, int arcStart, int arcAngle)
|
void | drawGlyphVector(GlyphVector v, float x, float y) - Draws a glyph vector at the specified location.
|
boolean | drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
|
boolean | drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
|
boolean | drawImage(Image image, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
|
boolean | drawImage(Image image, int x, int y, int width, int height, ImageObserver observer)
|
boolean | drawImage(Image image, int x, int y, Color bgcolor, ImageObserver observer)
|
boolean | drawImage(Image image, int x, int y, ImageObserver observer)
|
boolean | drawImage(Image image, AffineTransform Tx, ImageObserver obs)
|
void | drawImage(BufferedImage image, BufferedImageOp op, int x, int y)
|
void | drawLine(int x1, int y1, int x2, int y2)
|
void | drawOval(int x, int y, int width, int height)
|
void | drawPolygon(xPoints[] , yPoints[] , int npoints)
|
void | drawPolyline(xPoints[] , yPoints[] , int npoints)
|
void | drawRect(int x, int y, int width, int height)
|
void | drawRenderableImage(RenderableImage image, AffineTransform xform)
|
void | drawRenderedImage(RenderedImage image, AffineTransform xform)
|
void | drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
|
void | drawString(String string, float x, float y) - Draws a string at the specified location, using the current font.
|
void | drawString(String string, int x, int y) - Draws a string at the specified location, using the current font.
|
void | drawString(AttributedCharacterIterator ci, float x, float y) - Draws an attributed string at the specified location.
|
void | drawString(AttributedCharacterIterator ci, int x, int y) - Draws an attributed string at the specified location.
|
void | fill(Shape s) - Fills the interior of the specified
shape using the current
paint.
|
void | fill3DRect(int x, int y, int width, int height, boolean raised)
|
void | fillArc(int x, int y, int width, int height, int arcStart, int arcAngle)
|
void | fillOval(int x, int y, int width, int height)
|
void | fillPolygon(xPoints[] , yPoints[] , int npoints)
|
void | fillRect(int x, int y, int width, int height)
|
void | fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
|
Color | getBackground() - Returns the color used by the
Graphics.clearRect(int,int,int,int) method.
|
Shape | getClip()
|
Rectangle | getClipBounds()
|
Color | getColor()
|
Composite | getComposite() - Returns the current compositing rule.
|
abstract GraphicsConfiguration | getDeviceConfiguration()
|
Font | getFont()
|
FontMetrics | getFontMetrics(Font font)
|
FontRenderContext | getFontRenderContext() - Returns the font render context.
|
Paint | getPaint() - Returns the current paint.
|
Object | getRenderingHint(RenderingHints.Key hintKey) - Returns the current value of a rendering hint.
|
RenderingHints | getRenderingHints() - Returns the current rendering hints.
|
Stroke | getStroke() - Returns the current stroke.
|
AffineTransform | getTransform() - Returns the current transform.
|
boolean | hit(Rectangle rect, Shape s, boolean onStroke)
|
protected void | initImage(QtImage image)
|
protected void | initVolatileImage(QtVolatileImage image)
|
void | rotate(double theta)
|
void | rotate(double theta, double x, double y)
|
void | scale(double sx, double sy)
|
void | setBackground(Color color) - Sets the background color (used by the
Graphics.clearRect(int,int,int,int) method).
|
void | setClip(int x, int y, int width, int height)
|
void | setClip(Shape clip) - Sets the clip
|
void | setColor(Color c)
|
void | setComposite(Composite comp) - Sets the current compositing rule.
|
void | setFont(Font font)
|
void | setPaint(Paint p) - Sets the paint to be used for subsequent drawing operations.
|
void | setPaintMode()
|
void | setRenderingHint(RenderingHints.Key hintKey, Object hintValue) - Adds or updates a hint in the current rendering hints table.
|
void | setRenderingHints(Map , ?> hints) - Replaces the current rendering hints with the supplied hints.
|
void | setStroke(Stroke s) - Sets the stroke to be used for subsequent drawing operations.
|
void | setTransform(AffineTransform Tx) - Sets the current transform.
|
void | setXORMode(Color color)
|
protected void | setup() - Set up some generic defaults.
|
void | shear(double shx, double shy)
|
void | transform(AffineTransform Tx) - Sets the current transform to a concatenation of
transform
and the existing transform.
|
void | translate(double tx, double ty)
|
void | translate(int x, int y)
|