Skip to content

compas_threejs.text.text_geometry.TextGeometry ยค

TextGeometry(
    text: str,
    font: str = "helvetiker",
    size: float = 2,
    depth: float = 0.5,
    bold: bool = False,
    point: Point = Point(0, 0, 0),
    direction: Vector = Vector(1, 0, 0),
    up: Vector = Vector(0, 0, 1),
    centered: bool = False,
)

parameter font can have the following values: "helvetiker", "gentilis" or "optimer"