UNPKG

bitmovin-player-ui

Version:
27 lines (26 loc) 720 B
import { Component, ComponentConfig } from './Component'; import { DOM } from '../DOM'; /** * Animated analog TV static noise. * * @category Components */ export declare class TvNoiseCanvas extends Component<ComponentConfig> { private canvas; private canvasElement; private canvasContext; private canvasWidth; private canvasHeight; private interferenceHeight; private lastFrameUpdate; private frameInterval; private useAnimationFrame; private noiseAnimationWindowPos; private frameUpdateHandlerId; constructor(config?: ComponentConfig); protected toDomElement(): DOM; start(): void; stop(): void; private renderFrame; private scheduleNextRender; }