calculateBarLength

fun calculateBarLength(topPadding: Float = 0.0f, startPadding: Float = 0.0f, bottomPadding: Float = 0.0f, endPadding: Float = 0.0f): Float

Calculates the bar (track) length with the given padding