Point in Poly
bonnmike at gmail.com
Wed May 29 12:27:53 CDT 2013
Is the "opaque pixelx" functionality fixed for the current version (with
intersect)? It was broken in 6.0 community.
On Wed, May 29, 2013 at 10:35 AM, Richmond <richmondmathewson at gmail.com>wrote:
> I made a stack with a regular polygon shape (7 sides)
> filled with a very 'fetching' green,
> and a field called "INN",
> and put this script into the graphic:
> on mouseWithin
> put the mouseColor into fld "INN"
> end mouseWithin
> and . . .
> when the mouse was WITHIN the coloured polygon I got
> 83,195,64 i.e. the fetching green
> and when inwith the bounding rect but outwith the polygon I got
> so "there you go"; all done and dusted :)
> P.S. Ooooh, and by the way Happy Campers if you don't feel in the mood for
> a fetching green
> why not go for a more moody 'Rose' or even a 'Gay Grenache'; it will go
> well with your scarf!
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode