Cay Horstmann
CS 151 Section 05
Â
Anique Davla
Parvathy Menon
Vishaal Prasad
Charlene Young
draw(): draw items in Canvas contains(): check if points lie inside UmlDrawable toJson(): returns JSON Object of UMLDrawable
float x, y: coordinates Rect getOutline(): returns rectangle that defines the shape set(): sets top-left position boolean contains(): checks if given location is contained in node
Â
Â
Â
Â
Â