Drawing graphics: –

Drawing graphics: – The user can draw lines, rectangles, ovals and other free hand drawing using the mouse. The real care of awt graphics is the hug awt graphic class, which is derived directly from java.lang.object.

Drawing free hand drawing with the mouse is a little different. In that case, we store up to one thousand points that the point moves over. When it is a time to draw the figure, we just connect the dots with lines.


Comments are closed.

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: