14 lines
334 B
Python
14 lines
334 B
Python
import abc
|
|
|
|
from synthesis.segment.content_rectangle import ContentRectangle
|
|
|
|
|
|
class RecursiveContentRectangle(ContentRectangle):
|
|
def __init__(self, x1, y1, x2, y2, content=None):
|
|
super().__init__(x1, y1, x2, y2)
|
|
self.content = content
|
|
|
|
@property
|
|
def child_boxes(self):
|
|
raise NotImplementedError()
|