Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / checking the color of a pixel?

Author
Message
Nebin
19
Years of Service
User Offline
Joined: 20th Mar 2006
Location: At my computer?
Posted: 12th Jan 2007 23:13
Is it possible to check what color a pixel on the screen is with a command?

A picture is worth a thousand words...in basic
Ant
20
Years of Service
User Offline
Joined: 27th Nov 2004
Location:
Posted: 12th Jan 2007 23:17
POINT

This command will return the pixel color value from the screen at the specified Coordinates. The parameters should be specified using integer values. You
can also read from bitmaps by using the SET CURRENT BITMAP command.

Syntax

Return DWORD=POINT(X,Y)
Nebin
19
Years of Service
User Offline
Joined: 20th Mar 2006
Location: At my computer?
Posted: 13th Jan 2007 03:02
Thanks! Thats what I needed.

A picture is worth a thousand words...in basic

Login to post a reply

Server time is: 2025-05-15 11:14:19
Your offset time is: 2025-05-15 11:14:19