|
Hello,
In an image processing application, I want to use a
round 'cursor' and to be able to tell whether certain image features
(points) are inside or outside of the 'cursor.'
I'm thinking of using Ellipse2D as the
cursor:
1. each time the
mouse moves, redraw the circle centered at the MouseEvent's
x,y
2. use Shape.contains(Point2D
pt) to see whether certain points are within the circle
3. create an invisible
cursor using a transparent gif so all you see is the
circle
Does anyone have suggestions for better ways to do
this?
Thanks,
Ted Hill
|
- Re: [JAVA2D] CURSOR question Jim Bucher
- Re: [JAVA2D] CURSOR question Ted Hill
- Re: [JAVA2D] CURSOR question Jeff Kardatzke
