Skip to content

Commit

Permalink
Fix DrawRect syntax on both the v3 and v4 Function pages (#2)
Browse files Browse the repository at this point in the history
* Update RSDKv4 DrawRect to have the correct syntax

* Update DrawRect.md
  • Loading branch information
Twanvanb1 authored Dec 28, 2024
1 parent dcc09c5 commit ad73bf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/RSDKv3/Functions/Drawing/DrawRect.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ None.

## Syntax
```
DrawTintRect(int iXPos, int iYPos, int Width, int Height, int R, int G, int B, int Alpha)
DrawRect(int iXPos, int iYPos, int Width, int Height, int R, int G, int B, int Alpha)
```

## Example
```
DrawRect(30, 220, 60, 20, 255, 128, 128, 255)
```
```
4 changes: 2 additions & 2 deletions docs/RSDKv4/Functions/Drawing/DrawRect.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ None.

## Syntax
```
DrawTintRect(int ixpos, int iypos, int width, int height, int r, int g, int b, int alpha)
DrawRect(int ixpos, int iypos, int width, int height, int r, int g, int b, int alpha)
```

## Example
```
DrawRect(30, 220, 60, 20, 255, 128, 128, 255)
```
```

0 comments on commit ad73bf3

Please sign in to comment.