What is the relationship between the Canvas class and the Graphics class?

Q

What is the relationship between the Canvas class and the Graphics class?

✍: Guest

A

A Canvas object provides access to a Graphics object via its paint() method.

2012-11-02, 2237👍, 0💬