MVFv3 API Documentation
    Preparing search index...

    Type Alias FloorTextCommonProperties

    type FloorTextCommonProperties = {
        id: `eft_${string}`;
        color: string;
        text: string;
        visible: boolean;
        fontSize: number;
        fontFamily: string;
        rotation: number;
        align: "unknown" | "left" | "center" | "right";
    }
    Index

    Properties

    id: `eft_${string}`

    The ID of the floor text.

    color: string

    The color of the text in CSS format (e.g. #000000, rgb(0, 0, 0), black).

    'black'
    
    text: string

    The text to display. Newline characters are supported.

    visible: boolean

    Whether the text is visible.

    true
    
    fontSize: number

    The em-height (multiplier of the font's height) at which to render the font, in meters. The font height is the distance between the ascender (highest point, height of an A) and descender (lowest point, bottom of a g) of the font. For example, if the font-size is 12, the space for a single character will be 12 meters high.

    12
    
    fontFamily: string

    The font family of the text.

    'Droid Sans'
    
    rotation: number

    Rotation in degrees, about the center of the text. North is 0, east is 90.

    0

    360

    align: "unknown" | "left" | "center" | "right"

    Horizontal alignment of multi-line text.

    'center'