path.lineTo((float) rect.x + rect.width, rect.y + rect.height - cut);
path.lineTo((float) rect.x + rect.width, rect.y + rect.height - cut);
path.lineTo(rect.x + rect.width - cut, (float) rect.y + rect.height);
path.lineTo(rect.x + rect.width - cut, (float) rect.y + rect.height);
path.lineTo(rect.x + cut, (float) rect.y + rect.height);
path.lineTo(rect.x + cut, (float) rect.y + rect.height);
path.lineTo((float) rect.x, rect.y + rect.height - cut);