INNER CODE UNIT · Python
create_text
fury-gl/fury · fury/actor/core.py:287
def create_text(text, material, **kwargs):
"""
Create a text object.
Parameters
----------
text : str
The text content.
material : TextMaterial
The material object.
**kwargs : dict
Additional properties like font_size, anchor, etc.
Returns
-------
Text
The text object.