Strata - v1.4.10
    Preparing search index...

    Interface DialogPreset

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

    Hierarchy

    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.

    description: string
    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.