How to clear the shape created in java.awt.geom.GeneralPath?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Narmadha_Raji
Posted On:   Monday, August 12, 2002 07:00 AM

In GeneralPath, using moveTo and lineTo methods , i have created a shape and drawn the shape using draw method of Graphics2D class. This path is dynamic and at one stage i want to clear the path. So i need to get the coordinates of all the points and clear the path. But I couldn't find any methods in this and its related classes. How to acheive it?
Thankx in advance.

About | Sitemap | Contact