Difference between revisions of "gc:setAlpha"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
Sets how transparent the next graphical things displayed will be.
 
Sets how transparent the next graphical things displayed will be.
  
<br /> {{Since|3.0}}
+
 
 +
 
 +
<br /> {{Since|3.0}}. '''Will probably not exist/work on future versions, since this is [[Category:Undocumented/Unofficial]] !'''
  
 
==Syntax==
 
==Syntax==
Line 23: Line 25:
 
<br /><br />
 
<br /><br />
 
[[Category:gc]]
 
[[Category:gc]]
 +
[[Category:Undocumented/Unofficial]]

Revision as of 22:34, 7 December 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). . Will probably not exist/work on future versions, since this is !

Syntax

gc:setAlpha(alpha)

Parameter Type Description
alpha
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