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

Extensions for kotlin.Float

angleToArcLength Calculates length of the arc with the angle measured in degrees and the specified radius.fun Float.angleToArcLength(radius: Float): Float
arcLengthToAngle Calculates angle measured in degrees for the length of the arc and the specified radius.fun Float.arcLengthToAngle(radius: Float): Float
degToRad Converts angle measured in degrees to radians.fun Float.degToRad(): Float
radToDeg Converts angle measured in radians to degrees.fun Float.radToDeg(): Float