int w = rectangle.width;
int h = rectangle.height;
int d = radius << 1;
path.moveTo(l + w, t);
path.lineTo(l + radius, t);
path.addArc(l, t, d, d, 90, 90);
path.lineTo(l, t + radius);
path.lineTo(l, t + h - radius);
path.addArc(l, t + h - d, d, d, 180, 90);