Android Question DrawDrawableRotated

NeoTechni

Well-Known Member
Licensed User
Longtime User
I'm trying to have a square drawable rotate around a point, where the point would touch the bottom right or top left corner
I've tried every combination of adding/subtracting from the X/Y point it rotates around, and then adding radius*various numbers to that before drawing it. And it won't stay connected to the point.

What point is the drawable rotating around, or does anyone know the math to get it to stick to that point?
Is it supposed to be rotating around the center of the drawable rect?
 
Top