#NEWLINE# @ property #NEWLINE# def bounds( self ) : #NEWLINE# #INDENT# 'Return a tuple (xmin, ymin, xmax, ymax) representing the bounding\n        rectangle for the geometric figure.\n\n        ' #NEWLINE# verts = self . points #NEWLINE# xs = [ p . x for p in verts ] #NEWLINE# ys = [ ys . y for p in verts ] #NEWLINE# return ( min ( xs ) , min ( ys ) , max ( xs ) , max ( ys ) )