Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > Canvas Control >

Canvas_GetPixel

Previous pageReturn to chapter overviewNext page

 

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