babylonjs-gui 6.45.0 → 6.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.gui.d.ts +15 -21
- package/babylon.gui.js +49 -52
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +30 -42
- package/package.json +2 -2
package/babylon.gui.d.ts
CHANGED
@@ -2562,6 +2562,8 @@ declare module BABYLON.GUI {
|
|
2562
2562
|
private _startHighlightIndex;
|
2563
2563
|
private _endHighlightIndex;
|
2564
2564
|
private _cursorIndex;
|
2565
|
+
private _outlineWidth;
|
2566
|
+
private _outlineColor;
|
2565
2567
|
protected _onFocusSelectAll: boolean;
|
2566
2568
|
protected _isPointerDown: boolean;
|
2567
2569
|
protected _onClipboardObserver: BABYLON.Nullable<BABYLON.Observer<BABYLON.ClipboardInfo>>;
|
@@ -2572,6 +2574,16 @@ declare module BABYLON.GUI {
|
|
2572
2574
|
promptMessage: string;
|
2573
2575
|
/** Force disable prompt on mobile device */
|
2574
2576
|
disableMobilePrompt: boolean;
|
2577
|
+
/**
|
2578
|
+
* Gets or sets outlineWidth of the text to display
|
2579
|
+
*/
|
2580
|
+
get outlineWidth(): number;
|
2581
|
+
set outlineWidth(value: number);
|
2582
|
+
/**
|
2583
|
+
* Gets or sets outlineColor of the text to display
|
2584
|
+
*/
|
2585
|
+
get outlineColor(): string;
|
2586
|
+
set outlineColor(value: string);
|
2575
2587
|
/** BABYLON.Observable raised when the text changes */
|
2576
2588
|
onTextChangedObservable: BABYLON.Observable<InputText>;
|
2577
2589
|
/** BABYLON.Observable raised just before an entered character is to be added */
|
@@ -2580,9 +2592,9 @@ declare module BABYLON.GUI {
|
|
2580
2592
|
onFocusObservable: BABYLON.Observable<InputText>;
|
2581
2593
|
/** BABYLON.Observable raised when the control loses the focus */
|
2582
2594
|
onBlurObservable: BABYLON.Observable<InputText>;
|
2583
|
-
/**Observable raised when the text is highlighted */
|
2595
|
+
/** BABYLON.Observable raised when the text is highlighted */
|
2584
2596
|
onTextHighlightObservable: BABYLON.Observable<InputText>;
|
2585
|
-
/**Observable raised when copy event is triggered */
|
2597
|
+
/** BABYLON.Observable raised when copy event is triggered */
|
2586
2598
|
onTextCopyObservable: BABYLON.Observable<InputText>;
|
2587
2599
|
/** BABYLON.Observable raised when cut event is triggered */
|
2588
2600
|
onTextCutObservable: BABYLON.Observable<InputText>;
|
@@ -2646,6 +2658,7 @@ declare module BABYLON.GUI {
|
|
2646
2658
|
get text(): string;
|
2647
2659
|
set text(value: string);
|
2648
2660
|
protected _textHasChanged(): void;
|
2661
|
+
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
2649
2662
|
/** Gets or sets control width */
|
2650
2663
|
get width(): string | number;
|
2651
2664
|
set width(value: string | number);
|
@@ -2727,8 +2740,6 @@ declare module BABYLON.GUI {
|
|
2727
2740
|
private _prevText;
|
2728
2741
|
private _lines;
|
2729
2742
|
private _lineSpacing;
|
2730
|
-
private _outlineWidth;
|
2731
|
-
private _outlineColor;
|
2732
2743
|
private _maxHeight;
|
2733
2744
|
private _clipTextTop;
|
2734
2745
|
private _clipTextLeft;
|
@@ -2747,22 +2758,6 @@ declare module BABYLON.GUI {
|
|
2747
2758
|
private _availableHeight;
|
2748
2759
|
private _scrollTop;
|
2749
2760
|
private _autoStretchHeight;
|
2750
|
-
/**
|
2751
|
-
* Gets or sets outlineWidth of the text to display
|
2752
|
-
*/
|
2753
|
-
get outlineWidth(): number;
|
2754
|
-
/**
|
2755
|
-
* Gets or sets outlineWidth of the text to display
|
2756
|
-
*/
|
2757
|
-
set outlineWidth(value: number);
|
2758
|
-
/**
|
2759
|
-
* Gets or sets outlineColor of the text to display
|
2760
|
-
*/
|
2761
|
-
get outlineColor(): string;
|
2762
|
-
/**
|
2763
|
-
* Gets or sets outlineColor of the text to display
|
2764
|
-
*/
|
2765
|
-
set outlineColor(value: string);
|
2766
2761
|
/** Gets or sets a boolean indicating if the control can auto stretch its height to adapt to the text */
|
2767
2762
|
get autoStretchHeight(): boolean;
|
2768
2763
|
set autoStretchHeight(value: boolean);
|
@@ -2843,7 +2838,6 @@ declare module BABYLON.GUI {
|
|
2843
2838
|
protected _onPasteText(ev: ClipboardEvent): void;
|
2844
2839
|
_draw(context: BABYLON.ICanvasRenderingContext): void;
|
2845
2840
|
private _resetBlinking;
|
2846
|
-
protected _applyStates(context: BABYLON.ICanvasRenderingContext): void;
|
2847
2841
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
2848
2842
|
_onPointerMove(target: Control, coordinates: BABYLON.Vector2, pointerId: number, pi: BABYLON.PointerInfoBase): void;
|
2849
2843
|
/**
|