def __init__(self, text, topleft, font_settings):
        """Process and store given data.

        Parameters
        ==========
        text (string)
            contents to form the line.
        topleft (collection with two integers)
            represents the topleft position of the line.
        font_settings (dict)
            settings to render text (characters).
        """
        ### initialize superclass
        super().__init__()

        ### store font settings
        self.font_settings = font_settings

        ### define height for a special "line rect"
        line_rect_height = font_settings["font_height"]

        ### instantiate a special rect for the line
        ### (don't store it on self.rect, since self.rect
        ### is the setter of a property inherited from
        ### List2D)
        self.line_rect = Rect(topleft, (0, line_rect_height))

        ### extend list with text received using a method
        ### which turns the characters into special text
        ### objects
        self.extend_from_string(text)
Process and store given data.

        Parameters
        ==========
        text (string)
            contents to form the line.
        topleft (collection with two integers)
            represents the topleft position of the line.
        font_settings (dict)
            settings to render text (characters).
        
nodezator/textman/entryedition/line.py