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

angleToArcLength

fun Float.angleToArcLength(radius: Float): Float

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

Parameters

radius - The radius of the arc.

Receiver Angle measured in degrees.

Return The calculated length of the arc.