DrawRect: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Draw rectangle in screen space.}} | ||
{{FuncSyntax|DrawRect(sX, sY, sW, sH)}} | {{FuncSyntax|DrawRect(sX, sY, sW, sH)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|sX| | {{FuncParam|sX|Start X location.}} | ||
{{FuncParam|sY| | {{FuncParam|sY|Start Y location.}} | ||
{{FuncParam|sW| | {{FuncParam|sW|Width}} | ||
{{FuncParam|sH | | {{FuncParam|sH|Height}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns nothing.}} | ||
== Example == | == Example == |
Revision as of 13:44, 30 August 2020
Description
Draw rectangle in screen space.
Syntax
DrawRect(sX, sY, sW, sH)
Parameters
- sX
Start X location. - sY
Start Y location. - sW
Width - sH
Height
Return Value
- Returns nothing.
Example
__EDIT_ME__