using draw add shape but need to keep spinning
// convert to float for bounds
bounds.set((x - radius),(y - radius),(x + radius),(y + radius));
int halfWidth = width / 2;
// int rotate = 45;
//
// if (rotate == 45) {
// rotate();
// rotate = 90;
// }
// if (rotate == 90) {
// rotate();
// rotate = 135;
// }
// if (rotate == 90) {
// rotate();
// rotate = 180;
// }
// if (rotate == 180) {
// rotate();
// rotate = 45;
// }
Path path = new Path();
path.moveTo(x, y - halfWidth); // Top
path.lineTo(x - halfWidth, y + halfWidth); // Bottom left
path.lineTo(x + halfWidth, y + halfWidth); // Bottom right
path.lineTo(x, y - halfWidth); // Back to Top
path.close();
//canvas.save();
float rotation = 0;
canvas.save();
canvas.rotate(rotation, x / 2, y/ 2);
//all drawing from (x,y) point
canvas.drawPath(path, paint);
canvas.restore();