The ____ method requires four arguments and draws the outline of a rectangle using the current drawing color.
A) clearRect()
B) drawRect()
C) fillRect()
D) paintRect()
Correct Answer:
Verified
Q10: The getScreenSize() method returns an object of
Q11: The FontMetrics class methods return an integer
Q12: If you want to change graphic output on
Q13: The first step in drawing a 2D
Q14: When a Swing object such as JPanel
Q16: When using the drawRoundRect() method, if you
Q17: Both Rectangle2D.Float and Rectangle2D.Double can be created
Q18: You don't usually call the paint() method
Q19: The lineTo() method is used to define
Q20: You can instruct a Graphics object named g
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents