UNPKG

tav-media

Version:

Cross platform media editing framework

22 lines (21 loc) 722 B
import { tav } from '../tav'; import { Asset } from './tav-asset'; /** * PAGAsset is an asset that can be used to play PAG file. * @hideconstructor * @category Assets */ export declare class PAGAsset extends Asset { /** * Creates a PAG asset object from a specified range of a pag file, return null if the file does * not exist or it's not a valid pag file. * @param path The path of the pag file. * @returns The PAGAsset object. */ static MakeFromPath(path: string): Promise<PAGAsset>; readonly type = "PAGAsset"; private localPath; getPathForPAGEffect(): string; protected doPrepare(): Promise<void>; protected createAsset(): Promise<tav.PAGAsset> | undefined; }