Difference between revisions of "platform.isColorDisplay"
Jump to navigation
Jump to search
(Created page with "platform.'''isDeviceModeRendering''' is a function that is part of platform. Returns a boolean : * ''true'' if the script is running on the hand-held de...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | platform.''' | + | platform.'''isColorDisplay''' is a function that is part of [[:Category:platform|platform]]. |
Returns a boolean : | Returns a boolean : | ||
− | * ''true'' if the | + | * ''true'' if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer Software) |
− | * ''false'' if the | + | * ''false'' false if the display is gray scale (Nspire non-CAS, Nspire CAS) |
− | + | ||
{{Since|3.0}} | {{Since|3.0}} | ||
== Syntax == | == Syntax == | ||
− | platform.''' | + | platform.'''isColorDisplay'''() |
== Example == | == Example == | ||
− | <syntaxhighlight> | + | <syntaxhighlight>hasColor = platform.isColorDisplay()</syntaxhighlight> |
== See also == | == See also == |
Latest revision as of 22:18, 3 September 2011
platform.isColorDisplay is a function that is part of platform.
Returns a boolean :
- true if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer Software)
- false false if the display is gray scale (Nspire non-CAS, Nspire CAS)
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
platform.isColorDisplay()
Example
hasColor = platform.isColorDisplay()
See also