Comment #8 on issue 152 by Refactor PPath to use Path2D on JDK 1.6+

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:

Reply via email to