The document discusses methods for drawing graphics in a Canvas class, including drawing lines, rectangles, and shapes. It describes taking numeric attributes like x-y coordinates and width-height to position and size the shapes. Examples are provided of drawing various graphics and adjusting attributes to control the output.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
76 views
Java Graphics Programming
The document discusses methods for drawing graphics in a Canvas class, including drawing lines, rectangles, and shapes. It describes taking numeric attributes like x-y coordinates and width-height to position and size the shapes. Examples are provided of drawing various graphics and adjusting attributes to control the output.