UNPKG

@dan-uni/dan-any

Version:

A danmaku transformer lib, supporting danmaku from different platforms.

17 lines (16 loc) 402 B
import type { RGB } from '../types'; import { DanmakuType } from '../types'; export declare const dialogue: (danmaku: { type: (typeof DanmakuType)[keyof typeof DanmakuType]; color: RGB; fontSizeType: number; content: string; time: number; start: number; end: number; top: number; left: number; }, config: { scrollTime: number; fixTime: number; }) => string;