lib/shapes/ShapeGroup.py
def height(self):
		"""The height of the entire group."""

		maxcoord = None
		maxheight = None
		mincoord = self.shapes[0].position.y
		for shape in self.shapes:
			if float(shape.position.y) < mincoord:
				mincoord = float(shape.position.y)

			if float(shape.position.y) >= maxcoord:
				maxcoord = float(shape.position.y)
				if float(shape.height) > maxheight:
					maxheight = float(shape.height)

		return maxcoord + maxheight - mincoord
The height of the entire group.
The height of the entire group.
The height of the entire group .
def height(self):
		maxcoord = None
		maxheight = None
		mincoord = self.shapes[0].position.y
		for shape in self.shapes:
			if float(shape.position.y) < mincoord:
				mincoord = float(shape.position.y)
			if float(shape.position.y) >= maxcoord:
				maxcoord = float(shape.position.y)
				if float(shape.height) > maxheight:
					maxheight = float(shape.height)
		return maxcoord + maxheight - mincoord
def height ( self ) : maxcoord = None maxheight = None mincoord = self . shapes [ 0 ] . position . y for shape in self . shapes : if float ( shape . position . y ) < mincoord : mincoord = float ( shape . position . y ) if float ( shape . position . y ) >= maxcoord : maxcoord = float ( shape . position . y ) if float ( shape . height ) > maxheight : maxheight = float ( shape . height ) return maxcoord + maxheight - mincoord
The height of the entire group.
The height of the entire group .
"""The height of the entire group."""
self