This content has been marked as final. Show 2 replies
Does the CanvasDoodleTest which makes use of clearRect work for you?
What is your system environment (Java version, JavaFX version, OS, graphics card)?
Yes, the example works, even if drawShaped is run in a loop 100000 times.
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Server VM (build 23.1-b03, mixed mode)
Linux linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux