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.

One way is just to draw eight lines in the right pattern
Update for rounded corners keeping it to API level 1
Can do similar with a
Path