Difference between revisions of "gc:setPen"
Jump to navigation
Jump to search
(→Syntax) |
(→Syntax) |
||
Line 15: | Line 15: | ||
! Parameter !! Type !! Description | ! Parameter !! Type !! Description | ||
|- | |- | ||
− | | <u><center>thickness</center></u> || string || Optional. Can be " | + | | <u><center>thickness</center></u> || string || Optional. Can be "thin", "medium" or "thick" |
|- | |- | ||
| <u><center>style</center></u> || string || Optional. Can be "smooth", "dotted", "dashed" | | <u><center>style</center></u> || string || Optional. Can be "smooth", "dotted", "dashed" |
Revision as of 03:00, 29 July 2013
setPen is a function that is part of gc.
Sets the pen for drawing lines and borders.
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
gc:setPen([thickness[, style]])
If the thickness is not specified, it defaults to ”thin.”, and if the style is not specified, it defaults to ”smooth.”
Parameter | Type | Description |
---|---|---|
string | Optional. Can be "thin", "medium" or "thick" | |
string | Optional. Can be "smooth", "dotted", "dashed" |
Example
gc:setPen("thick","dotted")