I need to draw in canvas four boundary corner for qr code scanner. Here is example (I need to draw this four blue boundary corner).
I know how to draw rectangle:
val rectF = RectF(left, top, right, bottom)
canvas.drawRoundRect(rectF, radius, radius, paint)
But it is possible to draw only for boundary corners (without edge).
Please, help me.
You can achieve it by simply using the drawPath() method of Canvas ::
Use the below method to draw boundaries with rounded corners :