Add shapes with time interval

Hi can anybody know how to add shapes to canvas automatically with in some time interval (i.e. i want to add some circles to canvas for each 5 seconds howz it possible)

thanx-Nagu



Answer this question

Add shapes with time interval

  • KingCobra

    Can u give me a simple example code bcoz i never used this before

    thanx-Nagu


  • Frank Szendzielarz

    The Timer will be part of the PAge/Windows so it will be able to accesss to the Canvas


  • KalleKlovn

    If I remember, I've already explain you how to add shapes to a canvas.

    So you just need to modify the code to add a timer


  • Manan Pancholi

    Wouldn’t the timer run in the wrong tread so that it can't access the canvas


  • Add shapes with time interval