Android Question DrawDrawableRotated

Discussion in 'Android Questions' started by NeoTechni, Feb 4, 2015.

  1. NeoTechni

    NeoTechni Well-Known Member Licensed 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?
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. klaus

    klaus Expert Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice