rotate

abstract fun rotate(degree: Float, origin: TransformOrigin = TransformOrigin.Center)

Rotates the view along the z-axis by the given degree and origin.

Parameters

degree

The degree of rotation.

origin

The origin of rotation.