code: public Surface rotate (float angle) {
      float sr = (float) Math.sin(angle);
      float cr = (float) Math.cos(angle);
      transform(cr, sr, -sr, cr, 0, 0);
      return this;
    }
docs: Rotates the current transformation matrix by the specified angle in radians.