修复:并集错误
This commit is contained in:
5
types/DatabaseServices/Text/FontExt.d.ts
vendored
5
types/DatabaseServices/Text/FontExt.d.ts
vendored
@@ -1,5 +0,0 @@
|
||||
import { Font, Shape } from "three";
|
||||
export declare class FontExt extends Font {
|
||||
generateShapes(text: string, size?: number): Shape[];
|
||||
}
|
||||
//# sourceMappingURL=FontExt.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"FontExt.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Text/FontExt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAQ,KAAK,EAAsB,MAAM,OAAO,CAAC;AAO9D,qBAAa,OAAQ,SAAQ,IAAI;IAE7B,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,MAAY;CAQlD"}
|
33
types/DatabaseServices/Text/FontLoader.d.ts
vendored
33
types/DatabaseServices/Text/FontLoader.d.ts
vendored
@@ -1,33 +0,0 @@
|
||||
import { FontExt } from "./FontExt";
|
||||
/**
|
||||
* 字体加载器
|
||||
* # Example:
|
||||
```
|
||||
let l = FontLoader.GetLoader("宋体");//得到某个字体的加载器
|
||||
l.LoadGlyphs(""); //这行代码同时初始化了字体.
|
||||
await l.AwaitLoaded(); //等待载入完成
|
||||
let ft = l.Font; //得到字体
|
||||
```
|
||||
*/
|
||||
export declare class FontLoader {
|
||||
FontName: string;
|
||||
Font: FontExt;
|
||||
private constructor();
|
||||
/**
|
||||
* 得到某个字体的加载器
|
||||
* @param fontName 字体名称
|
||||
* @returns 字体加载器
|
||||
*/
|
||||
static GetLoader(fontName: string): FontLoader;
|
||||
LoadGlyphs(str: string): Promise<void>;
|
||||
private waitsFunction;
|
||||
AwaitLoaded(): Promise<boolean>;
|
||||
/**
|
||||
* 初始化加载器
|
||||
*/
|
||||
private Init;
|
||||
private _LoadIng;
|
||||
private _LoadQueue;
|
||||
private LoodLoop;
|
||||
}
|
||||
//# sourceMappingURL=FontLoader.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"FontLoader.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Text/FontLoader.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC;;;;;;;;;GASG;AACH,qBAAa,UAAU;IAGQ,QAAQ,EAAE,MAAM;IAD3C,IAAI,EAAE,OAAO,CAAC;IACd,OAAO;IAIP;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM;IAW3B,UAAU,CAAC,GAAG,EAAE,MAAM;IAM5B,OAAO,CAAC,aAAa,CAAM;IAErB,WAAW;IAWjB;;OAEG;YACW,IAAI;IAOlB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,UAAU,CAAgB;YACpB,QAAQ;CAgBzB"}
|
34
types/DatabaseServices/Text/TextArea.d.ts
vendored
34
types/DatabaseServices/Text/TextArea.d.ts
vendored
@@ -1,34 +0,0 @@
|
||||
import { Vector3 } from 'three';
|
||||
import { Singleton } from '../../Common/Singleton';
|
||||
import { Text } from './Text';
|
||||
export declare class TextArea extends Singleton {
|
||||
private _AreaContiner;
|
||||
private _EditorElList;
|
||||
private _TextHeight;
|
||||
private _TextPosition;
|
||||
private _TextRotation;
|
||||
private _CurrentValue;
|
||||
private _EditoringObject;
|
||||
constructor();
|
||||
StartDrawText(position: Vector3, height: number, rotate: number, str: string): void;
|
||||
StartEditorText(textObj: any, editorPosition?: Vector3): void;
|
||||
WorldToScreenHeight(h: number): number;
|
||||
CreateEditorArea(position?: Vector3): void;
|
||||
get TextareaHeight(): number;
|
||||
get ScreenPostion(): Vector3;
|
||||
rm: Function;
|
||||
RegisterEvent(): void;
|
||||
ClearEvent(): void;
|
||||
DispatchEsc: () => void;
|
||||
OnKeyDown: (e: KeyboardEvent) => void;
|
||||
OnClick: (e: MouseEvent) => void;
|
||||
OnBlur: (e: Event) => Promise<void>;
|
||||
/**
|
||||
*清除监听事件,将编辑的内容构建文字对象,更新视图,移除编辑框Dom
|
||||
*/
|
||||
EndEditor(): Promise<void>;
|
||||
EndEditorEvent(text: Text): void;
|
||||
private waitPromis;
|
||||
Wait(): Promise<unknown>;
|
||||
}
|
||||
//# sourceMappingURL=TextArea.d.ts.map
|
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/DatabaseServices/Text/TextArea.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,OAAO,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAKnD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,qBAAa,QAAS,SAAQ,SAAS;IAEnC,OAAO,CAAC,aAAa,CAAc;IACnC,OAAO,CAAC,aAAa,CAA2C;IAEhE,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,aAAa,CAAc;IACnC,OAAO,CAAC,gBAAgB,CAAW;;IAenC,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;IAU5E,eAAe,CAAC,OAAO,KAAA,EAAE,cAAc,CAAC,EAAE,OAAO;IAgCjD,mBAAmB,CAAC,CAAC,EAAE,MAAM;IAM7B,gBAAgB,CAAC,QAAQ,CAAC,EAAE,OAAO;IAgCnC,IAAI,cAAc,WAGjB;IACD,IAAI,aAAa,YAGhB;IAED,EAAE,EAAE,QAAQ,CAAC;IACb,aAAa;IAab,UAAU;IAOV,WAAW,aAIT;IACF,SAAS,MAAO,aAAa,UAW3B;IACF,OAAO,MAAO,UAAU,UAatB;IACF,MAAM,MAAa,KAAK,mBA0BtB;IAEF;;OAEG;IACG,SAAS;IA+Bf,cAAc,CAAC,IAAI,EAAE,IAAI;IACzB,OAAO,CAAC,UAAU,CAAkB;IAC9B,IAAI;CAQb"}
|
Reference in New Issue
Block a user