Difference between revisions of "gc:setAlpha"
Jump to navigation
Jump to search
(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...") |
|||
Line 20: | Line 20: | ||
gc:setAlpha(127) -- will be half-visible | gc:setAlpha(127) -- will be half-visible | ||
gc:setAlpha(255) -- will be fully-visible</syntaxhighlight> | gc:setAlpha(255) -- will be fully-visible</syntaxhighlight> | ||
− | |||
<br /><br /> | <br /><br /> | ||
[[Category:gc]] | [[Category:gc]] | ||
− |
Revision as of 18:26, 11 July 2011
setAlpha is a function that is part of gc.
Sets how transparent the next graphical things displayed will be.
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
gc:setAlpha(alpha)
Parameter | Type | Description |
---|---|---|
number | an integer, from 0 to 255 |
Example
gc:setAlpha(0) -- will be invisible
gc:setAlpha(127) -- will be half-visible
gc:setAlpha(255) -- will be fully-visible