frame-msg
    Preparing search index...

    Interface TxTextSpriteBlockOptions

    Interface for TxTextSpriteBlock constructor options.

    interface TxTextSpriteBlockOptions {
        fontFamily?: string;
        fontSize: number;
        maxDisplayRows: number;
        text: string;
        width: number;
    }
    Index

    Properties

    fontFamily?: string

    Optional font family name. Defaults to 'sans-serif'.

    fontSize: number

    Font size in pixels

    maxDisplayRows: number

    Maximum number of rows to display

    text: string

    The text to render

    width: number

    Width constraint for text layout