pycognaize.document.tag.cell.Cell
- class Cell(value, left_col, top_row, top, right, bottom, left, col_span, row_span)[source]
Bases:
objectRepresents a single element in TableTag
Methods
Converts cell to dict
Attributes
Area of the rectangle
bottomcol_spanHeight of the rectangle
leftleft_colrightrow_spantoptop_rowvalueWidth of the rectangle
- property area: float
Area of the rectangle
- property height: int | float
Height of the rectangle
- property width: int | float
Width of the rectangle