@rbxts/types 1.0.768 → 1.0.770

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.
@@ -15478,11 +15478,11 @@ interface Path2D extends GuiBase {
15478
15478
  * @deprecated
15479
15479
  */
15480
15480
  readonly _nominal_Path2D: unique symbol;
15481
- Color: Color3;
15482
- Position: UDim2;
15481
+ Color3: Color3;
15483
15482
  Thickness: number;
15484
15483
  Visible: boolean;
15485
15484
  ZIndex: number;
15485
+ GetBoundingRect(this: Path2D): Rect;
15486
15486
  GetControlPoint(this: Path2D, index: number): Path2DControlPoint;
15487
15487
  GetControlPoints(this: Path2D): unknown;
15488
15488
  GetPositionOnCurve(this: Path2D, t: number): UDim2;
@@ -7933,6 +7933,43 @@ declare namespace Enum {
7933
7933
  }
7934
7934
  export type GameAvatarType = GameAvatarType.R6 | GameAvatarType.R15 | GameAvatarType.PlayerChoice;
7935
7935
 
7936
+ export namespace GamepadType {
7937
+ export interface Unknown extends globalThis.EnumItem {
7938
+ Name: "Unknown";
7939
+ Value: 0;
7940
+ EnumType: typeof globalThis.Enum.GamepadType;
7941
+ }
7942
+
7943
+ export const Unknown: Unknown;
7944
+
7945
+ export interface PS4 extends globalThis.EnumItem {
7946
+ Name: "PS4";
7947
+ Value: 1;
7948
+ EnumType: typeof globalThis.Enum.GamepadType;
7949
+ }
7950
+
7951
+ export const PS4: PS4;
7952
+
7953
+ export interface PS5 extends globalThis.EnumItem {
7954
+ Name: "PS5";
7955
+ Value: 2;
7956
+ EnumType: typeof globalThis.Enum.GamepadType;
7957
+ }
7958
+
7959
+ export const PS5: PS5;
7960
+
7961
+ export interface XboxOne extends globalThis.EnumItem {
7962
+ Name: "XboxOne";
7963
+ Value: 3;
7964
+ EnumType: typeof globalThis.Enum.GamepadType;
7965
+ }
7966
+
7967
+ export const XboxOne: XboxOne;
7968
+
7969
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.GamepadType>;
7970
+ }
7971
+ export type GamepadType = GamepadType.Unknown | GamepadType.PS4 | GamepadType.PS5 | GamepadType.XboxOne;
7972
+
7936
7973
  export namespace GearGenreSetting {
7937
7974
  export interface AllGenres extends globalThis.EnumItem {
7938
7975
  Name: "AllGenres";
@@ -8271,9 +8308,17 @@ declare namespace Enum {
8271
8308
 
8272
8309
  export const CustomBillboards: CustomBillboards;
8273
8310
 
8311
+ export interface CoreBillboards extends globalThis.EnumItem {
8312
+ Name: "CoreBillboards";
8313
+ Value: 4;
8314
+ EnumType: typeof globalThis.Enum.GuiType;
8315
+ }
8316
+
8317
+ export const CoreBillboards: CoreBillboards;
8318
+
8274
8319
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.GuiType>;
8275
8320
  }
8276
- export type GuiType = GuiType.Core | GuiType.Custom | GuiType.PlayerNameplates | GuiType.CustomBillboards;
8321
+ export type GuiType = GuiType.Core | GuiType.Custom | GuiType.PlayerNameplates | GuiType.CustomBillboards | GuiType.CoreBillboards;
8277
8322
 
8278
8323
  export namespace HandlesStyle {
8279
8324
  export interface Resize extends globalThis.EnumItem {
@@ -1944,8 +1944,25 @@ interface Path2DControlPoint {
1944
1944
  * @deprecated
1945
1945
  */
1946
1946
  readonly _nominal_Path2DControlPoint: unique symbol;
1947
+ /** The position of the `Path2DControlPoint`. */
1948
+ Position: UDim2;
1949
+ /** The left tangent of the `Path2DControlPoint`. */
1950
+ LeftTangent: UDim2;
1951
+ /** The right tangent of the `Path2DControlPoint`. */
1952
+ RightTangent: UDim2;
1947
1953
  }
1948
1954
 
1955
+ interface Path2DControlPointConstructor {
1956
+ /** Returns an empty `Path2DControlPoint`. */
1957
+ new (): Path2DControlPoint;
1958
+ /** Returns a `Path2DControlPoint` with only the position set. */
1959
+ new (position: UDim2): Path2DControlPoint;
1960
+ /** Returns a `Path2DControlPoint` with the position, left tangent, and right tangent set. */
1961
+ new (position: UDim2, leftTangent: UDim2, rightTangent: UDim2): Path2DControlPoint;
1962
+ }
1963
+
1964
+ declare const Path2DControlPoint: Path2DControlPointConstructor;
1965
+
1949
1966
  // PhysicalProperties
1950
1967
  interface PhysicalProperties {
1951
1968
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.768",
3
+ "version": "1.0.770",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },