COMPUTER SCIENCE AND ENGINEERING
COMPUTER GRAPHICS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is NOT a valid drawing method of the Graphics class?
|
drawRect
|
|
drawCircle
|
|
fillOval
|
|
drawPolygon
|
Explanation:
Detailed explanation-1: -drawRoundRect. Draws an outlined round-cornered rectangle using this graphics context’s current color. The left and right edges of the rectangle are at x and x + width, respectively. The top and bottom edges of the rectangle are at y and y + height .
Detailed explanation-2: -Answer: Java. awt class provides many methods for graphics programming.
There is 1 question to complete.