Strata - v1.4.10
    Preparing search index...

    Interface DialogConfig

    Configuration for a dialogue system.

    interface DialogConfig {
        backgroundColor?: string;
        continueIndicator?: string;
        currentLine?: number;
        fontFamily?: string;
        fontSize?: number;
        imagePosition?: "left" | "right";
        lines: DialogLine[];
        maxWidth?: number;
        padding?: number;
        position?: UIAnchor;
        showSpeakerImage?: boolean;
        skipEnabled?: boolean;
        speakerColor?: string;
        textColor?: string;
        textDirection?: TextDirection;
        typewriterSpeed?: number;
    }
    Index

    Properties

    backgroundColor?: string

    CSS-compatible background color string.

    continueIndicator?: string

    Character shown when more text is available.

    currentLine?: number

    Index of the line currently being displayed.

    fontFamily?: string

    CSS-compatible font family string.

    fontSize?: number

    Base font size in pixels.

    imagePosition?: "left" | "right"

    Position of the character portrait relative to the text.

    lines: DialogLine[]

    The full sequence of lines in this dialogue.

    maxWidth?: number

    Maximum width of the dialogue box in pixels.

    padding?: number

    Internal container padding in pixels.

    position?: UIAnchor

    Screen corner anchor point.

    showSpeakerImage?: boolean

    Whether to display character portraits.

    skipEnabled?: boolean

    Whether users can skip the typewriter animation.

    speakerColor?: string

    CSS-compatible speaker name color string.

    textColor?: string

    CSS-compatible text color string.

    textDirection?: TextDirection

    Direction of text flow.

    typewriterSpeed?: number

    Characters per second for the typewriter effect.