gettingstarted
[Top] [All Lists]

Re: Figure out a color

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Figure out a color
From: Phil Heycock <pheycock at bellsouth dot net>
Date: Sun, 23 Nov 2003 10:13:47 -0500
Look at the 'Graphics' class

c = g.Pixel(x,y)

PWH

************************************

on 11/23/03 9:40 AM, Andrew Keller at andrew at kellerfarm dot com wrote:

> Is there a function that returns a color when you give it pixel
> coordinates, such as the coordinates of the mouse?  So, if you put that
> code in the mousemove event of the window, and then you move the mouse
> over a picture in the window, it would tell you the color of the pixel
> that the mouse is over.


 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>