babylonjs-gui 5.45.0 → 5.45.2
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 +3 -3
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +8 -8
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -620,7 +620,7 @@ export class Button extends Rectangle {
|
|
620
620
|
* @internal
|
621
621
|
*/
|
622
622
|
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, pi: PointerInfoBase): boolean;
|
623
|
-
protected _getRectangleFill(context: ICanvasRenderingContext): string |
|
623
|
+
protected _getRectangleFill(context: ICanvasRenderingContext): string | CanvasGradient;
|
624
624
|
/**
|
625
625
|
* @internal
|
626
626
|
*/
|
@@ -833,7 +833,7 @@ import { Control } from "babylonjs-gui/2D/controls/control";
|
|
833
833
|
import { Measure } from "babylonjs-gui/2D/measure";
|
834
834
|
import { AdvancedDynamicTexture } from "babylonjs-gui/2D/advancedDynamicTexture";
|
835
835
|
import { PointerInfoBase } from "babylonjs/Events/pointerEvents";
|
836
|
-
import {
|
836
|
+
import { ICanvasRenderingContext } from "babylonjs/Engines/ICanvas";
|
837
837
|
import { DynamicTexture } from "babylonjs/Materials/Textures/dynamicTexture";
|
838
838
|
import { Observable } from "babylonjs/Misc/observable";
|
839
839
|
import { BaseGradient } from "babylonjs-gui/2D/controls/gradient/BaseGradient";
|
@@ -951,7 +951,7 @@ export class Container extends Control {
|
|
951
951
|
_offsetTop(offset: number): void;
|
952
952
|
/** @internal */
|
953
953
|
_markAllAsDirty(): void;
|
954
|
-
protected _getBackgroundColor(context: ICanvasRenderingContext): string |
|
954
|
+
protected _getBackgroundColor(context: ICanvasRenderingContext): string | CanvasGradient;
|
955
955
|
/**
|
956
956
|
* @internal
|
957
957
|
*/
|
@@ -3174,7 +3174,7 @@ export class RadioButton extends Control {
|
|
3174
3174
|
declare module "babylonjs-gui/2D/controls/rectangle" {
|
3175
3175
|
import { Container } from "babylonjs-gui/2D/controls/container";
|
3176
3176
|
import { Measure } from "babylonjs-gui/2D/measure";
|
3177
|
-
import {
|
3177
|
+
import { ICanvasRenderingContext } from "babylonjs/Engines/ICanvas";
|
3178
3178
|
/** Class used to create rectangle container */
|
3179
3179
|
export class Rectangle extends Container {
|
3180
3180
|
name?: string | undefined;
|
@@ -3196,7 +3196,7 @@ export class Rectangle extends Container {
|
|
3196
3196
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
3197
3197
|
/** @internal */
|
3198
3198
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
3199
|
-
protected _getRectangleFill(context: ICanvasRenderingContext): string |
|
3199
|
+
protected _getRectangleFill(context: ICanvasRenderingContext): string | CanvasGradient;
|
3200
3200
|
protected _localDraw(context: ICanvasRenderingContext): void;
|
3201
3201
|
protected _additionalProcessing(parentMeasure: Measure, context: ICanvasRenderingContext): void;
|
3202
3202
|
private _drawRoundedRect;
|
@@ -9305,7 +9305,7 @@ declare module BABYLON.GUI {
|
|
9305
9305
|
* @internal
|
9306
9306
|
*/
|
9307
9307
|
_onPointerDown(target: Control, coordinates: BABYLON.Vector2, pointerId: number, buttonIndex: number, pi: BABYLON.PointerInfoBase): boolean;
|
9308
|
-
protected _getRectangleFill(context: BABYLON.ICanvasRenderingContext): string |
|
9308
|
+
protected _getRectangleFill(context: BABYLON.ICanvasRenderingContext): string | CanvasGradient;
|
9309
9309
|
/**
|
9310
9310
|
* @internal
|
9311
9311
|
*/
|
@@ -9610,7 +9610,7 @@ declare module BABYLON.GUI {
|
|
9610
9610
|
_offsetTop(offset: number): void;
|
9611
9611
|
/** @internal */
|
9612
9612
|
_markAllAsDirty(): void;
|
9613
|
-
protected _getBackgroundColor(context: BABYLON.ICanvasRenderingContext): string |
|
9613
|
+
protected _getBackgroundColor(context: BABYLON.ICanvasRenderingContext): string | CanvasGradient;
|
9614
9614
|
/**
|
9615
9615
|
* @internal
|
9616
9616
|
*/
|
@@ -11709,7 +11709,7 @@ declare module BABYLON.GUI {
|
|
11709
11709
|
protected _computeAdditionnalOffsetX(): 1 | 0;
|
11710
11710
|
/** @internal */
|
11711
11711
|
protected _computeAdditionnalOffsetY(): 1 | 0;
|
11712
|
-
protected _getRectangleFill(context: BABYLON.ICanvasRenderingContext): string |
|
11712
|
+
protected _getRectangleFill(context: BABYLON.ICanvasRenderingContext): string | CanvasGradient;
|
11713
11713
|
protected _localDraw(context: BABYLON.ICanvasRenderingContext): void;
|
11714
11714
|
protected _additionalProcessing(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
|
11715
11715
|
private _drawRoundedRect;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "5.45.
|
3
|
+
"version": "5.45.2",
|
4
4
|
"main": "babylon.gui.js",
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
6
6
|
"files": [
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"babylonjs": "^5.45.
|
17
|
+
"babylonjs": "^5.45.2"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"@dev/build-tools": "1.0.0",
|