Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babylonjs-gui

Package Overview
Dependencies
Maintainers
1
Versions
641
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babylonjs-gui - npm Package Compare versions

Comparing version 3.2.0-beta.5 to 3.2.0-rc.1

64

babylon.gui.d.ts

@@ -155,2 +155,24 @@

declare module BABYLON.GUI {
class MultiLinePoint {
private _multiLine;
private _x;
private _y;
private _control;
private _mesh;
private _controlObserver;
private _meshObserver;
_point: Vector2;
constructor(multiLine: MultiLine);
x: string | number;
y: string | number;
control: Nullable<Control>;
mesh: Nullable<AbstractMesh>;
translate(): Vector2;
private _translatePoint();
dispose(): void;
}
}
declare module BABYLON.GUI {
class Control {

@@ -264,3 +286,3 @@ name: string | undefined;

fontStyle: string;
/** @ignore */
/** @hidden */
readonly _isFontSizeInPercentage: boolean;

@@ -294,3 +316,3 @@ readonly fontSizeInPixels: number;

protected _getTypeName(): string;
/** @ignore */
/** @hidden */
_resetFontCache(): void;

@@ -652,3 +674,3 @@ getLocalCoordinates(globalCoordinates: Vector2): Vector2;

private _drawText(text, textWidth, y, context);
/** @ignore */
/** @hidden */
_draw(parentMeasure: Measure, context: CanvasRenderingContext2D): void;

@@ -859,1 +881,37 @@ protected _applyStates(context: CanvasRenderingContext2D): void;

}
declare module BABYLON.GUI {
class MultiLine extends Control {
name: string | undefined;
private _lineWidth;
private _dash;
private _points;
private _minX;
private _minY;
private _maxX;
private _maxY;
constructor(name?: string | undefined);
dash: Array<number>;
getAt(index: number): MultiLinePoint;
onPointUpdate: () => void;
add(...items: (AbstractMesh | Control | {
x: string | number;
y: string | number;
})[]): MultiLinePoint[];
push(item?: (AbstractMesh | Control | {
x: string | number;
y: string | number;
})): MultiLinePoint;
remove(value: number | MultiLinePoint): void;
lineWidth: number;
horizontalAlignment: number;
verticalAlignment: number;
protected _getTypeName(): string;
_draw(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
protected _additionalProcessing(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
_measure(): void;
protected _computeAlignment(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
dispose(): void;
}
}

@@ -160,2 +160,24 @@

declare module BABYLON.GUI {
class MultiLinePoint {
private _multiLine;
private _x;
private _y;
private _control;
private _mesh;
private _controlObserver;
private _meshObserver;
_point: Vector2;
constructor(multiLine: MultiLine);
x: string | number;
y: string | number;
control: Nullable<Control>;
mesh: Nullable<AbstractMesh>;
translate(): Vector2;
private _translatePoint();
dispose(): void;
}
}
declare module BABYLON.GUI {
class Control {

@@ -269,3 +291,3 @@ name: string | undefined;

fontStyle: string;
/** @ignore */
/** @hidden */
readonly _isFontSizeInPercentage: boolean;

@@ -299,3 +321,3 @@ readonly fontSizeInPixels: number;

protected _getTypeName(): string;
/** @ignore */
/** @hidden */
_resetFontCache(): void;

@@ -657,3 +679,3 @@ getLocalCoordinates(globalCoordinates: Vector2): Vector2;

private _drawText(text, textWidth, y, context);
/** @ignore */
/** @hidden */
_draw(parentMeasure: Measure, context: CanvasRenderingContext2D): void;

@@ -864,1 +886,37 @@ protected _applyStates(context: CanvasRenderingContext2D): void;

}
declare module BABYLON.GUI {
class MultiLine extends Control {
name: string | undefined;
private _lineWidth;
private _dash;
private _points;
private _minX;
private _minY;
private _maxX;
private _maxY;
constructor(name?: string | undefined);
dash: Array<number>;
getAt(index: number): MultiLinePoint;
onPointUpdate: () => void;
add(...items: (AbstractMesh | Control | {
x: string | number;
y: string | number;
})[]): MultiLinePoint[];
push(item?: (AbstractMesh | Control | {
x: string | number;
y: string | number;
})): MultiLinePoint;
remove(value: number | MultiLinePoint): void;
lineWidth: number;
horizontalAlignment: number;
verticalAlignment: number;
protected _getTypeName(): string;
_draw(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
protected _additionalProcessing(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
_measure(): void;
protected _computeAlignment(parentMeasure: Measure, context: CanvasRenderingContext2D): void;
dispose(): void;
}
}

2

package.json

@@ -7,3 +7,3 @@ {

"description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.",
"version": "3.2.0-beta.5",
"version": "3.2.0-rc.1",
"repository": {

@@ -10,0 +10,0 @@ "type": "git",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc