original_docstring:  Create the DXF-TEXT entities. 
          
docstring: Create the DXF-TEXT entities.
docstring_tokens: Create the DXF - TEXT entities .
code: def render(self, layout: 'GenericLayoutType') -> None:
          """ Create the DXF-TEXT entities. 
          """
          textlines = self.textlines
          if len(textlines) > 1:
              if self.mirror & const.MIRROR_Y:
                  textlines.reverse()
              for linenum, text in enumerate(textlines):
                  alignpoint = self._get_align_point(linenum)
                  layout.add_text(
                      text,
                      dxfattribs=self._dxfattribs(alignpoint),
                  )
          elif len(textlines) == 1:
              layout.add_text(
                  textlines[0],
                  dxfattribs=self._dxfattribs(self.insert),
              )
code_tokens: def render ( self , layout : 'GenericLayoutType' ) -> None : textlines = self . textlines if len ( textlines ) > 1 : if self . mirror & const . MIRROR_Y : textlines . reverse ( ) for linenum , text in enumerate ( textlines ) : alignpoint = self . _get_align_point ( linenum ) layout . add_text ( text , dxfattribs = self . _dxfattribs ( alignpoint ) , ) elif len ( textlines ) == 1 : layout . add_text ( textlines [ 0 ] , dxfattribs = self . _dxfattribs ( self . insert ) , )
short_docstring: Create the DXF-TEXT entities.
short_docstring_tokens: Create the DXF - TEXT entities .
comment: """ Create the DXF-TEXT entities. 
          """