Android Graphics Utilities / it.czerwinski.android.graphics / kotlin.Float / arcLengthToAngle

arcLengthToAngle

fun Float.arcLengthToAngle(radius: Float): Float

Calculates angle measured in degrees for the length of the arc and the specified radius.

Parameters

radius - The radius of the arc.

Receiver Length of the arc.

Return The calculated angle measured in degrees.