babylonjs-gui
Advanced tools
Comparing version 3.2.0-beta.5 to 3.2.0-rc.1
@@ -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; | ||
} | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
421403
7514