neoscore.interface.rich_text_interface

class neoscore.interface.rich_text_interface.RichTextInterface[source]

Bases: PositionedObjectInterface

An interface for graphical text objects.

html_text: str
font: FontInterface
width: Optional[Unit] = None
render()[source]

Render the line to the scene.

__init__(pos: Point, parent: Optional[PositionedObjectInterface], scale: float, rotation: float, transform_origin: Point, html_text: str, font: FontInterface, width: Optional[Unit] = None) None