Computer Science, asked by shandu7315, 1 year ago

Which method is used to set the graphics current color to the specified color in the graphics class?

Answers

Answered by vishalsingh142owj60d
1
public abstract void setColor(Color c)
Answered by monica789412
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