Good morning!
How to draw rectangle with 1 rounded corner and fill it with color please?
I am trying to use the method arcTo with the following code:
this.bgGraphics.beginFill(0xFFCC00, 1);
this.bgGraphics.moveTo(0, 0);
this.bgGraphics.lineTo(45, 0);
this.bgGraphics.arcTo(45, 0, 60, 15, 15);
this.bgGraphics.lineTo(60, 60);
this.bgGraphics.lineTo(0, 60);
this.bgGraphics.endFill();
But instead of the rounded corner on the right top it cuts it off:
Regards
Alex