rotate()

Transform

Description

Rotates a shape by the angle parameter. Angles are in radians.

Syntax

void rotate(float angle)

Parameters

NameTypeDescription
anglefloatangle in radians

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...