babylonjs-gui 6.4.1 → 6.5.0

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 CHANGED
@@ -2997,12 +2997,25 @@ declare module BABYLON.GUI {
2997
2997
  name?: string | undefined;
2998
2998
  private _thickness;
2999
2999
  private _cornerRadius;
3000
+ private _cachedRadius;
3000
3001
  /** Gets or sets border thickness */
3001
3002
  get thickness(): number;
3002
3003
  set thickness(value: number);
3003
- /** Gets or sets the corner radius angle */
3004
+ /** Gets or sets the corner radius of all angles */
3004
3005
  get cornerRadius(): number;
3005
3006
  set cornerRadius(value: number);
3007
+ /** Gets or sets the corner radius top left angle */
3008
+ get cornerRadiusX(): number;
3009
+ set cornerRadiusX(value: number);
3010
+ /** Gets or sets the corner radius top right angle */
3011
+ get cornerRadiusY(): number;
3012
+ set cornerRadiusY(value: number);
3013
+ /** Gets or sets the corner radius bottom left angle */
3014
+ get cornerRadiusZ(): number;
3015
+ set cornerRadiusZ(value: number);
3016
+ /** Gets or sets the corner radius bottom right angle */
3017
+ get cornerRadiusW(): number;
3018
+ set cornerRadiusW(value: number);
3006
3019
  /**
3007
3020
  * Creates a new Rectangle
3008
3021
  * @param name defines the control name
@@ -3857,6 +3870,7 @@ declare module BABYLON.GUI {
3857
3870
  private _lineThrough;
3858
3871
  private _wordDivider;
3859
3872
  private _forceResizeWidth;
3873
+ private _applyOutlineToUnderline;
3860
3874
  /**
3861
3875
  * An event triggered after the text is changed
3862
3876
  */
@@ -3945,6 +3959,11 @@ declare module BABYLON.GUI {
3945
3959
  * Gets or sets an boolean indicating that text must be crossed out
3946
3960
  */
3947
3961
  set lineThrough(value: boolean);
3962
+ /**
3963
+ * If the outline should be applied to the underline/strike-through too. Has different behavior in Edge/Chrome vs Firefox.
3964
+ */
3965
+ get applyOutlineToUnderline(): boolean;
3966
+ set applyOutlineToUnderline(value: boolean);
3948
3967
  /**
3949
3968
  * Gets or sets outlineColor of the text to display
3950
3969
  */
@@ -3981,6 +4000,7 @@ declare module BABYLON.GUI {
3981
4000
  protected _getTypeName(): string;
3982
4001
  protected _processMeasures(parentMeasure: Measure, context: BABYLON.ICanvasRenderingContext): void;
3983
4002
  private _drawText;
4003
+ private _drawLine;
3984
4004
  /**
3985
4005
  * @internal
3986
4006
  */