Thats not what i want, all i need is the color at position x,y then
negate it or get a color that is visible on top of it (hence the
opposite color), then draw a oval at that x,y position (hence
g.fillOval(..) ).
Knute Johnson - 03 Jan 2006 06:34 GMT
> Thats not what i want, all i need is the color at position x,y then
> negate it or get a color that is visible on top of it (hence the
> opposite color), then draw a oval at that x,y position (hence
> g.fillOval(..) ).
Take the exclusive or of the int.
int c = color.getRGB();
c ^= c;

Signature
Knute Johnson
email s/nospam/knute/
John Bokma - 03 Jan 2006 06:36 GMT
> Thats not what i want,
This is not what I want, please read:
<http://groups.google.com/support/bin/answer.py?answer=14213>

Signature
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
placid - 05 Jan 2006 02:04 GMT
> > Thats not what i want,
>
[quoted text clipped - 6 lines]
> Experienced programmer available: http://castleamber.com/
> Happy Customers: http://castleamber.com/testimonials.html
Thanks for the tip, which i already knew how to do, but google
complained that the page was not available at this time and only the
reply link at the bottom of the post worked !