I did a System.out.println(sh.getBounds2D());
The upper boundary is negative and the lower boundary is zero. Try
checkPoint(1,-2,'0');

At 08:26 AM 7/25/01 -0700, addlan wrote:
>Some characters are paint in an image and I wonder how to judge if a
>specified pixel falls into those characters.
>
>I use checkPoint to judge if a point(x,y) in the character. And the source
>code are given below. But I try many points, all of them are not in the
>characters. Why?

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to