Erasing Plugin Screen

  • I am developing a plugin to show the Satellite spectrum view (see attached picture)

    My plugin is inheriting from Screen class.... I have a render="Canvas" on my skin and I am drawing on that canvas using the fill(), writetext() and line() methods....
    But I am not able to find how I can clear the canvas? I found a workaround that I draw a full black rectangle over my drawing which erases everything on canvas. But I didn't like this solution because I cannot make it transparent.


    please check https://github.com/barisdinc/q…aw/main/qo100_plugin.jpeg



    Can you tell me how I can just erase the canvas.


    Thanks

    Baris DINC

    OH2UDS/TA7W




    [Blockierte Grafik: https://github.com/barisdinc/qo100_wb_transponder_plugin/raw/main/qo100_plugin.jpeg]

  • Thanks... I checked the source code for that and I already found that (which clears the list of drawn objects)

    But it does not clear the screen... Even I tried "FLUSH"ing after clearing :frowning_face: I may be doing something wrong..