Canvas removeShape help
Posted: Fri Mar 05, 2021 1:38 am
CanvasIcon old;
timelineCanvas = screenSpaceCanvasFactory.createCanvas(ScreenSpaceCanvasType.RIGHT_OF_TIMELINE);
timelineCanvas.removeShape(old);
I am trying to remove an old CanvasIcon after I am done with it using the code above, but the icon remains on the screen. Is there something else that I need to do? I have N number of icons that I want to remain on the screen, and just the one to be removed.
timelineCanvas = screenSpaceCanvasFactory.createCanvas(ScreenSpaceCanvasType.RIGHT_OF_TIMELINE);
timelineCanvas.removeShape(old);
I am trying to remove an old CanvasIcon after I am done with it using the code above, but the icon remains on the screen. Is there something else that I need to do? I have N number of icons that I want to remain on the screen, and just the one to be removed.