Transform.rotate

Combine the current transform with a rotation.

This function returns a reference to this, so that calls can be chained.

  1. void rotate(float angle)
    struct Transform
    void
    rotate
    (
    float angle
    )
  2. void rotate(float angle, float centerX, float centerY)

Parameters

angle
Type: float

Rotation angle, in degrees

Return Value

Type: void

this

Meta