Which method is used to set the graphics current color to the specified color in the graphics class?
Answers
Answered by
1
public abstract void setColor(Color c)
Answered by
0
Public abstract void setColor(Color c) is used to set the graphics current color to the specified color in the graphics class.
Abstract color:
- Because it makes no sense to have a contextless concrete Graphics class.
- Because the Graphics class is abstract, components that use it can create their own concrete implementations of it that are unique to the component and, in certain situations, even platform-specific.
Color computer graphics:
- The diagrams' elements are differentiated by colour to enable quick and accurate reading and comprehension of the comparative data.
- Layers of information can be created by using colour visualisation techniques, which expand the amount of information that can be incorporated into the visual message or image.
#SPJ3
Similar questions