Hello,

There is some task. I need to recognize when the shape (or path or
anything else android specific) is intersected by the rectangle.

The standart java awt library contains such method that simply can be
called from Shape class, like

boolean isIntersected = shape.intersects(rect);

But I could not find a way how to do this in android. Just found the
method "contains(x,y)" that allows to detect whether the point is in
the shape or not. Believe this method can be useful, but believe there
is much simpler solution.

Any help would be appreciated!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to