UNPKG

@glowjs/core

Version:

GlowJS数字孪生引擎核心库。

35 lines (34 loc) 779 B
import { AdvancedDynamicTexture, Rectangle } from '../runtime'; import { App } from '../core/App'; /** * 提示信息 */ export declare class ToolTip extends Rectangle { static _root: AdvancedDynamicTexture; private _textBlock; /** * 应用 */ app: App; /** * 实例化一个提示信息对象 * @param app 应用 */ constructor(app: App); /** * 获取或设置字体大小 */ get fontSize(): number; set fontSize(value: number); /** * 获取或设置文本 */ get text(): string; set text(value: string); /** * 获取或设置文本颜色 */ get textColor(): string; set textColor(value: string); private _onFrameUpdate; }