DrawRect: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
Line 28: Line 28:
* [[DrawRect]]
* [[DrawRect]]
* [[DrawTexture]]
* [[DrawTexture]]
* [[DrawTextureEx]]
* [[DrawMaterial]]

Latest revision as of 20:25, 30 August 2020

DrawRect

Type: Function
Context: Client
Introduced: v1.0

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__

See also