BaseConfig: {
    atButtonPadding: number;
    atButtonRadius: number;
    cacheAge: number;
    canvasHeight: number;
    canvasWidth: number;
    collisionPadding: number;
    collisionRange: {
        [key in "left" | "right"]: number
    };
    colors: {
        [key: string]: string;
    };
    commentDrawPadding: number;
    commentDrawRange: number;
    commentLimit: number | undefined;
    commentPlugins: {
        class: typeof BaseComment;
        condition: ((comment) => boolean);
    }[];
    commentScale: ConfigItem<number>;
    commentStageSize: ConfigItem<CommentStageSize>;
    compatSpacer: {
        flash: {
            [key: string]: Partial<ConfigFlashFontItem<number>>;
        };
        html5: {
            [key: string]: Partial<ConfigHTML5FontItem<number>>;
        };
    };
    contextFillLiveOpacity: number;
    contextLineWidth: ConfigItem<number>;
    contextStrokeColor: string;
    contextStrokeInversionColor: string;
    contextStrokeOpacity: number;
    flashChar: FlashCharList;
    flashCommentYOffset: ConfigSizeItem<ConfigResizedItem<number>>;
    flashCommentYPaddingTop: ConfigResizedItem<number>;
    flashDoubleResizeHeights: Partial<ConfigSizeItem<{
        [key: number]: number;
    }>>;
    flashLetterSpacing: number;
    flashLineBreakScale: ConfigSizeItem<number>;
    flashMode: FlashMode;
    flashScriptChar: FlashScriptChar;
    flashScriptCharOffset: number;
    flashThreshold: number;
    fontSize: ConfigItem<ConfigSizeItem<ConfigResizedItem<number>>>;
    fonts: {
        flash: FontList;
        html5: PlatformFont;
    };
    fpsInterval: number;
    hideCommentOrder: "asc" | "desc";
    html5HiResCommentCorrection: number;
    html5LineCounts: ConfigItem<LineCounts>;
    html5MinFontSize: number;
    lineBreakCount: {
        [key in CommentSize]: number
    };
    lineHeight: ConfigItem<ConfigSizeItem<ConfigResizedItem<number>>>;
    nakaCommentSpeedOffset: number;
    plugins: IPluginConstructor[];
    sameCAGap: number;
    sameCAMinScore: number;
    sameCARange: number;
    sameCATimestampRange: number;
}

Type declaration

  • atButtonPadding: number
  • atButtonRadius: number
  • cacheAge: number
  • canvasHeight: number
  • canvasWidth: number
  • collisionPadding: number
  • collisionRange: {
        [key in "left" | "right"]: number
    }
  • colors: {
        [key: string]: string;
    }
    • [key: string]: string
  • commentDrawPadding: number
  • commentDrawRange: number
  • commentLimit: number | undefined
  • commentPlugins: {
        class: typeof BaseComment;
        condition: ((comment) => boolean);
    }[]
  • commentScale: ConfigItem<number>
  • commentStageSize: ConfigItem<CommentStageSize>
  • compatSpacer: {
        flash: {
            [key: string]: Partial<ConfigFlashFontItem<number>>;
        };
        html5: {
            [key: string]: Partial<ConfigHTML5FontItem<number>>;
        };
    }
    • flash: {
          [key: string]: Partial<ConfigFlashFontItem<number>>;
      }
      • [key: string]: Partial<ConfigFlashFontItem<number>>
    • html5: {
          [key: string]: Partial<ConfigHTML5FontItem<number>>;
      }
      • [key: string]: Partial<ConfigHTML5FontItem<number>>
  • contextFillLiveOpacity: number
  • contextLineWidth: ConfigItem<number>
  • contextStrokeColor: string
  • contextStrokeInversionColor: string
  • contextStrokeOpacity: number
  • flashChar: FlashCharList
  • flashCommentYOffset: ConfigSizeItem<ConfigResizedItem<number>>
  • flashCommentYPaddingTop: ConfigResizedItem<number>
  • flashDoubleResizeHeights: Partial<ConfigSizeItem<{
        [key: number]: number;
    }>>
  • flashLetterSpacing: number
  • flashLineBreakScale: ConfigSizeItem<number>
  • flashMode: FlashMode
  • flashScriptChar: FlashScriptChar
  • flashScriptCharOffset: number
  • flashThreshold: number
  • fontSize: ConfigItem<ConfigSizeItem<ConfigResizedItem<number>>>
  • fonts: {
        flash: FontList;
        html5: PlatformFont;
    }
  • fpsInterval: number
  • hideCommentOrder: "asc" | "desc"
  • html5HiResCommentCorrection: number
  • html5LineCounts: ConfigItem<LineCounts>
  • html5MinFontSize: number
  • lineBreakCount: {
        [key in CommentSize]: number
    }
  • lineHeight: ConfigItem<ConfigSizeItem<ConfigResizedItem<number>>>
  • nakaCommentSpeedOffset: number
  • plugins: IPluginConstructor[]
  • sameCAGap: number
  • sameCAMinScore: number
  • sameCARange: number
  • sameCATimestampRange: number