Tile - YColor - Color – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Color(Red, Green, Blue, Alpha) == | |||
[[File:YlandsTile-562.png]] | |||
<pre>static create(r: number, g: number, b: number, a: number): YColor;</pre> | |||
=== Parameters === | |||
==== r ==== | |||
Red component of the color (0-255) | |||
==== g ==== | |||
Green component of the color (0-255) | |||
==== b ==== | |||
Blue component of the color (0-255) | |||
==== a ==== | |||
=== Returns === | |||
'''YColor''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Returns new '''color''' as defined by RGB values. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:26, 24 November 2023
Color(Red, Green, Blue, Alpha)
static create(r: number, g: number, b: number, a: number): YColor;
Parameters
r
Red component of the color (0-255)
g
Green component of the color (0-255)
b
Blue component of the color (0-255)
a
Returns
YColor
Availability
Description
Returns new color as defined by RGB values.