Skip to content

Commit fecd310

Browse files
Merge pull request #1 from Pinaz993/master
Fix Swapped Arguments for api_draw_circle()
2 parents c893baf + 95a1f10 commit fecd310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

draw_methods.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ function api_draw_button(button_id, show_text) end
77
---@param cx number the x position to draw at (this will be at the centre of the circle)
88
---@param cy number the y position to draw at (this will be at the centre of the circle)
99
---@param rad number the radius of the circle
10-
---@param outline boolean whether to draw an outline instead of a filled circle
1110
---@param col string? @[Optional] the color key to use for this circle color, either one you defined with api_define_color() or a name from the colors_ref.json game file, defaults to white if not specified
11+
---@param outline boolean whether to draw an outline instead of a filled circle
1212
---@param alpha number? @[Optional] the alpha level to draw with (number between 0-1)
13-
function api_draw_circle(cx, cy, rad, outline, col, alpha) end
13+
function api_draw_circle(cx, cy, rad, col, outline, alpha) end
1414

1515
---
1616
---@param x1 number the x position to start the line at

0 commit comments

Comments
 (0)