code: public static Transform createRotateTransform(float angle, float x, float y) {   
          Transform temp = Transform.createRotateTransform(angle);
          float sinAngle = temp.matrixPosition[3];
          float oneMinusCosAngle = 1.0f - temp.matrixPosition[4];
          temp.matrixPosition[2] = x * oneMinusCosAngle + y * sinAngle;
          temp.matrixPosition[5] = y * oneMinusCosAngle - x * sinAngle;
  
          return temp;   
      }
docs: Create a new rotation Transform around the specified point
  
  @param angle The angle in radians to set the transform.
  @param x The x coordinate around which to rotate.
  @param y The y coordinate around which to rotate.
  @return The resulting Transform