New method DrawPolygon inherited bug from AppyBuilder

I remember mentioning in AppyBuilder the DrawPolygon method clears the canvas every time is executed. I don’t think this is how it should work.
It’s still doing the same. Can that be changed to work as the other drawing methods work?

1 Like

@Italo i recall your post. Not sure if that’s a :bug: bug though. However, we could check into enhancement

1 Like

Yeah, I mean, not a bug because I remember you said it was made like that, but I don’t really see any use of the method if it’s going to delete the canvas, not being rude or anything. Just an observation.

3 Likes

No issues. Noted I just made internal tracking for this.

3 Likes

@Italo See here: DrawPoly - Update Canvas.DrawPolygon to clear canvas · Issue #2 · Kodular/Kodular-Creator-Issue-Tracker · GitHub

1 Like

Thanks for looking into that. :+1:

1 Like

And in case anyone needs to use the regular polygons method without clearing the canvas, here’s my procedure that works almost the same as the added method (only thing missing is the corners radius):

3 Likes