Asked by
Ricky Rivas
on Oct 27, 2024Verified
To draw a rectangle filled with the current color, you can use the method ____.
A) drawRect()
B) fillRect()
C) drawOval()
D) fillOval()
fillRect
In computer graphics, the "fillRect" method is used to draw and fill a rectangle with a specific color or pattern in a graphical user interface.
- Utilize methods from the Graphics class to render text and geometric figures.
Verified Answer
DK
Learning Objectives
- Utilize methods from the Graphics class to render text and geometric figures.