toString

open override fun toString(): String(source)

Returns a string representation of this rotation in degrees.


fun toString(unit: RotationUnit = Radians, decimalPlaces: Int = 2): String(source)

Returns a formatted string representation of this rotation.

Parameters

unit

The unit to display the rotation in.

decimalPlaces

The number of decimal places to display.