<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands > Canvas_GetPixel |
Description
Retrieve the color of the pixel at the specified point
Syntax
nColor = Canvas_GetPixel(X1, Y1)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
X1 |
Number |
No |
X position of the requested point |
Y1 |
Number |
No |
Y position of the requested point |
Remarks
Restrictions
See also
Examples