Hi Mike, Terence, a bit of a hack but it works:
give the segments a radial stroke gradient of e.g. black with black at the left and black at the right. Set the blendlevel of both black to just under full, by selecting one after the other the black little symbol in the gradient setting and slider to almost right. change the intersect part of the code to --------------------------- if intersect(grc "mousepoint",grc i,"opaque pixels") then -- cycle through the graphics and check for intersect --------------------------- of course this only works if the fill of the segments is fully opaque, which it is in Mike's example and now the border of the segments is not part of the segment. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-Graphice-Segment-tp4694331p4694376.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode