Changes

Jump to navigation Jump to search

gc:setAlpha

547 bytes added, 19:26, 11 July 2011
Created page with "'''setAlpha''' is a function that is part of gc. Sets how transparent the next graphical things displayed will be. <br /> {{Since|3.0}} ==Syntax== gc:'''setAl..."
'''setAlpha''' is a function that is part of [[:Category:gc|gc]].

Sets how transparent the next graphical things displayed will be.

<br /> {{Since|3.0}}

==Syntax==
gc:'''setAlpha'''(alpha)

{| class="wikitable"
|-
! Parameter !! Type !! Description
|-
| <u><center>alpha</center></u> || number || an integer, from 0 to 255
|-
|}

== Example ==
<syntaxhighlight>gc:setAlpha(0) -- will be invisible
gc:setAlpha(127) -- will be half-visible
gc:setAlpha(255) -- will be fully-visible</syntaxhighlight>


<br /><br />
[[Category:gc]]
[[Category:]]

Navigation menu