Comment #8 on issue 152 by mr0...@mro.name: Refactor PPath to use Path2D on JDK 1.6+
http://code.google.com/p/piccolo2d/issues/detail?id=152

take a Shape input parameter, typecheck internally by RTTI against PPath and throw an exception in case.

Not nice, as the type isn't formally part of the public API then, but should work.

Even better: cut+paste the PPath interface and add a proxy to PPath if available and throw an ex otherwise.

--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to