java.lang.Object
java.awt.Graphics
org.bzdev.gio.SplitterGraphics
Graphics subclass that mirrors requests to two instances of
Graphics
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearRect
(int x, int y, int width, int height) void
clipRect
(int x, int y, int width, int height) void
copyArea
(int x, int y, int width, int height, int dx, int dy) create()
create
(int x, int y, int width, int height) void
dispose()
void
drawArc
(int x, int y, int width, int height, int startAngle, int arcAngle) boolean
drawImage
(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) boolean
drawImage
(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) boolean
drawImage
(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) boolean
drawImage
(Image img, int x, int y, int width, int height, ImageObserver observer) boolean
drawImage
(Image img, int x, int y, Color bgcolor, ImageObserver observer) boolean
drawImage
(Image img, int x, int y, ImageObserver observer) void
drawLine
(int x1, int y1, int x2, int y2) void
drawOval
(int x, int y, int width, int height) void
drawPolygon
(int[] xPoints, int[] yPoints, int nPoints) void
drawPolyline
(int[] xPoints, int[] yPoints, int nPoints) void
drawRoundRect
(int x, int y, int width, int height, int arcWidth, int arcHeight) void
drawString
(String str, int x, int y) void
drawString
(AttributedCharacterIterator iterator, int x, int y) void
fillArc
(int x, int y, int width, int height, int startAngle, int arcAngle) void
fillOval
(int x, int y, int width, int height) void
fillPolygon
(int[] xPoints, int[] 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) getClip()
getColor()
getFont()
boolean
hitClip
(int x, int y, int width, int height) void
setClip
(int x, int y, int width, int height) void
void
void
void
void
setXORMode
(Color c1) void
translate
(int x, int y) Methods inherited from class java.awt.Graphics
draw3DRect, drawBytes, drawChars, drawPolygon, drawRect, fill3DRect, fillPolygon, finalize, getClipBounds, getClipRect, toString
-
Constructor Details
-
Method Details
-
drawString
- Specified by:
drawString
in classGraphics
-
drawString
- Specified by:
drawString
in classGraphics
-
translate
public void translate(int x, int y) -
clearRect
public void clearRect(int x, int y, int width, int height) -
clipRect
public void clipRect(int x, int y, int width, int height) -
copyArea
public void copyArea(int x, int y, int width, int height, int dx, int dy) -
create
-
create
-
dispose
public void dispose() -
drawArc
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) -
drawImage
-
drawImage
-
drawImage
public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) -
drawImage
-
drawImage
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) -
drawImage
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) -
drawLine
public void drawLine(int x1, int y1, int x2, int y2) -
drawOval
public void drawOval(int x, int y, int width, int height) -
drawPolygon
public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
drawPolygon
in classGraphics
-
drawPolyline
public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
drawPolyline
in classGraphics
-
drawRoundRect
public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) - Specified by:
drawRoundRect
in classGraphics
-
fillArc
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) -
fillOval
public void fillOval(int x, int y, int width, int height) -
fillPolygon
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints) - Specified by:
fillPolygon
in classGraphics
-
fillRect
public void fillRect(int x, int y, int width, int height) -
fillRoundRect
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) - Specified by:
fillRoundRect
in classGraphics
-
getClip
-
getClipBounds
- Specified by:
getClipBounds
in classGraphics
-
getColor
-
getFont
-
getFontMetrics
- Overrides:
getFontMetrics
in classGraphics
-
getFontMetrics
- Specified by:
getFontMetrics
in classGraphics
-
hitClip
public boolean hitClip(int x, int y, int width, int height) -
setClip
public void setClip(int x, int y, int width, int height) -
setClip
-
setColor
-
setFont
-
setPaintMode
public void setPaintMode()- Specified by:
setPaintMode
in classGraphics
-
setXORMode
- Specified by:
setXORMode
in classGraphics
-