def get_bbox(self): if self.horizontal: return bbox.bbox_mk(self.position, self.position, offset=(self.radius, self.size / 2)) else: return bbox.bbox_mk(self.position, self.position, offset=(self.size / 2, self.radius))
def get_bbox(self): new_bbox = bbox.bbox_mk(self.points[0], self.points[1], offset=(self.width, self.width)) for point in self.points: new_bbox = bbox.bbox_add_point(new_bbox, point, offset=(self.width, self.width)) return new_bbox
def get_bbox(self): return bbox.bbox_mk(self.lower_left, self.upper_right)
def get_bbox(self): return bbox.bbox_mk(self.start, self.end, offset=(self.width, self.width))
def get_bbox(self): return bbox.bbox_mk(self.center, self.center, offset=(self.radius, self.radius))