<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands > Canvas_Width |
Description
Set the line width to be used in various other Canvas functions.
Syntax
n = Canvas_Width(lWidth)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
lWidth |
Number |
Yes |
Width in pixels |
Remarks
The graphic target must first be selected with Canvas_Attach.
If line width is set to a value greater than 1 (default), the line style is always interpreted to be 0 (solid).
Restrictions
See also
Examples