Skip to content

Commit b239980

Browse files
committed
add rgba fields to Color
1 parent 0be8afc commit b239980

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

custom/class.Color.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---@class Color
2+
---@field r number The red component of the color.
3+
---@field g number The green component of the color.
4+
---@field b number The blue component of the color.
5+
---@field a number The alpha component of the color.
6+
---{{CLASS_FIELDS}}
7+
local Color = {}

0 commit comments

Comments
 (0)