Beginning with Java 1.1, the background color of offscreen images may be system dependent. Applications should use setColor
followed by fillRect
to ensure that an offscreen image is cleared to a specific color.
@param x the x coordinate of the rectangle to clear.
@param y the y coordinate of the rectangle to clear.
@param width the width of the rectangle to clear.
@param height the height of the rectangle to clear.
@see ae.java.awt.Graphics#fillRect(int,int,int,int)
@see ae.java.awt.Graphics#drawRect
@see ae.java.awt.Graphics#setColor(ae.java.awt.Color)
@see ae.java.awt.Graphics#setPaintMode
@see ae.java.awt.Graphics#setXORMode(ae.java.awt.Color)
Beginning with Java 1.1, the background color of offscreen images may be system dependent. Applications should use setColor
followed by fillRect
to ensure that an offscreen image is cleared to a specific color.
@param x the x coordinate of the rectangle to clear.
@param y the y coordinate of the rectangle to clear.
@param width the width of the rectangle to clear.
@param height the height of the rectangle to clear.
@see java.awt.Graphics#fillRect(int,int,int,int)
@see java.awt.Graphics#drawRect
@see java.awt.Graphics#setColor(java.awt.Color)
@see java.awt.Graphics#setPaintMode
@see java.awt.Graphics#setXORMode(java.awt.Color)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|