SetDrawColor: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
Line 3: Line 3:
{{FuncDescription|Sets the color that will be used by all Draw* functions.}}
{{FuncDescription|Sets the color that will be used by all Draw* functions.}}


{{FuncSyntax|SetDrawColor(HexColor)}}
{{FuncSyntax|SetDrawColor(IntColor)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|HexColor|__EDIT_ME__}}
{{FuncParam|IntColor|Color as an integer from [[RGBA]].}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns ''true''.}}


== Example ==
== Example ==

Revision as of 13:14, 22 July 2020

SetDrawColor

Type: Function
Context: Client
Introduced: v1.0

Description

Sets the color that will be used by all Draw* functions.

Syntax

SetDrawColor(IntColor)

Parameters

  • IntColor
    Color as an integer from RGBA.

Return Value

  • Returns true.

Example

__EDIT_ME__

See also