#63 rectangle element

This commit is contained in:
Mikayla Fischler
2022-06-08 12:27:28 -04:00
parent 8ea75b9501
commit ce227a175a
3 changed files with 80 additions and 0 deletions

View File

@@ -30,6 +30,20 @@ graphics.TEXT_ALIGN = {
RIGHT = 3
}
---@class graphics_border
---@field width integer
---@field color color
---@param width integer
---@param color color
---@return graphics_border
function graphics.border(width, color)
return {
width = width,
color = color
}
end
---@class graphics_frame
---@field x integer
---@field y integer