Documentation - v20.0.0-dev
    Preparing search index...

    A text written on a plan, in its projection frame (see ProjectionFrame).

    interface TextAnnotation {
        fontColor: string;
        fontSize: number;
        text: string;
        x: number;
        y: number;
    }
    Index

    Properties

    fontColor: string

    Its colour, a CSS colour.

    fontSize: number

    Its font size, as the plan's configuration gives it.

    text: string

    What is written.

    x: number

    Its centre along the first axis of the projection frame, in scene units.

    y: number

    Its centre along the second axis of the projection frame, in scene units.