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