# {py:mod}`simvx.core.ui.text_paragraph` ```{py:module} simvx.core.ui.text_paragraph ``` ```{autodoc2-docstring} simvx.core.ui.text_paragraph :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`TextParagraph ` - ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph :summary: ``` ```` ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`wrap_paragraph ` - ```{autodoc2-docstring} simvx.core.ui.text_paragraph.wrap_paragraph :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`__all__ ` - ```{autodoc2-docstring} simvx.core.ui.text_paragraph.__all__ :summary: ``` ```` ### API ````{py:data} __all__ :canonical: simvx.core.ui.text_paragraph.__all__ :value: > ['TextParagraph', 'wrap_paragraph'] ```{autodoc2-docstring} simvx.core.ui.text_paragraph.__all__ ``` ```` `````{py:class} TextParagraph :canonical: simvx.core.ui.text_paragraph.TextParagraph ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph ``` ````{py:attribute} lines :canonical: simvx.core.ui.text_paragraph.TextParagraph.lines :type: tuple[str, ...] :value: > None ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph.lines ``` ```` ````{py:attribute} total_height :canonical: simvx.core.ui.text_paragraph.TextParagraph.total_height :type: float :value: > None ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph.total_height ``` ```` ````{py:attribute} max_line_width :canonical: simvx.core.ui.text_paragraph.TextParagraph.max_line_width :type: float :value: > None ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph.max_line_width ``` ```` ````{py:attribute} line_height :canonical: simvx.core.ui.text_paragraph.TextParagraph.line_height :type: float :value: > None ```{autodoc2-docstring} simvx.core.ui.text_paragraph.TextParagraph.line_height ``` ```` ````` ````{py:function} wrap_paragraph(text: str, *, max_width: float, renderer, font_size: float = 14.0, line_height_factor: float = _LINE_HEIGHT_FACTOR) -> simvx.core.ui.text_paragraph.TextParagraph :canonical: simvx.core.ui.text_paragraph.wrap_paragraph ```{autodoc2-docstring} simvx.core.ui.text_paragraph.wrap_paragraph ``` ````