graphic-pixi/lib/graphic/VectorText.d.ts

17 lines
565 B
TypeScript
Raw Normal View History

2023-12-12 17:31:07 +08:00
import { ICanvas, ITextStyle, Text, TextStyle } from 'pixi.js';
import { VectorGraphic } from '.';
/**
* .fontSize
*/
export declare class VectorText extends Text implements VectorGraphic {
vectorFontSize: number;
scaled: number;
scaledListenerOn: boolean;
constructor(text?: string | number, style?: Partial<ITextStyle> | TextStyle, canvas?: ICanvas);
updateOnScaled(): void;
/**
*
*/
setVectorFontSize(fontSize: number): void;
}