def render_column_definition(self, renderer: RenderingEngine, x: int,
                              y: int, board: Board, column: int):
     column_def = board.get_definition('column', column)
     for i in column_def:
         i_str = str(i)
         renderer.draw_text(i_str, x, y)
         y += renderer.get_text_height(i_str)
 def get_column_definition_height(self, renderer: RenderingEngine,
                                  board: Board, column: int) -> int:
     definition = board.get_definition('column', column)
     definition_str = self._definition_as_str(definition)
     return renderer.get_text_height(definition_str,
                                     render_horizontal=False)
 def get_row_definition_height(self, renderer: RenderingEngine,
                               board: Board, row: int) -> int:
     definition = board.get_definition('row', row)
     definition_str = self._definition_as_str(definition)
     return renderer.get_text_height(definition_str)