@quenty/uiobjectutils 2.1.0 → 2.1.1-canary.38bdfe3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.1-canary.38bdfe3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/uiobjectutils@2.1.0...@quenty/uiobjectutils@2.1.1-canary.38bdfe3.0) (2022-09-07)
7
+
8
+ **Note:** Version bump only for package @quenty/uiobjectutils
9
+
10
+
11
+
12
+
13
+
6
14
  # [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/uiobjectutils@2.0.1...@quenty/uiobjectutils@2.1.0) (2022-03-27)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/uiobjectutils
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2021 Quenty
3
+ Copyright (c) 2014-2022 Quenty
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/uiobjectutils",
3
- "version": "2.1.0",
3
+ "version": "2.1.1-canary.38bdfe3.0",
4
4
  "description": "UI object utils library for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "501844bd6c3d3f765fd3032b997d8030bc963a1f"
30
+ "gitHead": "38bdfe3721bddf1d272628b1104b1d8e0abaf24f"
31
31
  }
@@ -4,6 +4,12 @@
4
4
 
5
5
  local UICornerUtils = {}
6
6
 
7
+ --[=[
8
+ Creates a new UI corner
9
+ @param scale number
10
+ @param parent Instance
11
+ @return UICorner
12
+ ]=]
7
13
  function UICornerUtils.fromScale(scale, parent)
8
14
  local uiCorner = Instance.new("UICorner")
9
15
  uiCorner.CornerRadius = UDim.new(scale, 0)
@@ -11,6 +17,12 @@ function UICornerUtils.fromScale(scale, parent)
11
17
  return uiCorner
12
18
  end
13
19
 
20
+ --[=[
21
+ Creates a new UI corner from offset
22
+ @param offset number
23
+ @param parent Instance
24
+ @return UICorner
25
+ ]=]
14
26
  function UICornerUtils.fromOffset(offset, parent)
15
27
  local uiCorner = Instance.new("UICorner")
16
28
  uiCorner.CornerRadius = UDim.new(0, offset)