rotate

public void rotate(float degrees)

Rotates the video output around its center in the virtual 1920x1080 space.

Rotation is applied around the point (960, 540), i.e., the center of a 1920x1080 frame. Positive values rotate clockwise, negative values rotate counter-clockwise.

Example usage:

player.rotate(90f); // Rotates the video 90 degrees clockwise

Parameters

degrees

The rotation angle in degrees.