Campbell Ritchie wrote:… and welcome to the Ranch
If your freehand drawing is not a Polygon, you should create an object to encapsulate it. Add that object, which encapsulates all the points, to the List.
You may do well to create a Shape (or similar) interface and have all your different shapes implement that interface.
Only use // comments for short things. For anything of any length use /* comments */. That way you won't have problems with line length. I shall try to change your comment's format.