UNPKG

ng-cw-v12

Version:

Angular UI component library

28 lines (27 loc) 964 B
import { OnInit, ElementRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare class VideoTextComponent implements OnInit { /** 展示的文本内容 */ private _text; set ncText(value: string); get ncText(): string; ncSrc: string; textContentRef: ElementRef<HTMLSpanElement>; svgTextRef: ElementRef<SVGTextElement>; dimensions: { width: number; height: number; }; isReady: boolean; textStyle: Partial<CSSStyleDeclaration>; maskId: string; constructor(); ngOnInit(): void; private start; private computeTextStyles; private updateDimensions; getStyleString(): string; private extractTextStyles; static ɵfac: i0.ɵɵFactoryDeclaration<VideoTextComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<VideoTextComponent, "nc-video-text", never, { "ncText": "ncText"; "ncSrc": "ncSrc"; }, {}, never, never>; }