getEnd

fun RectF.getEnd(isLtr: Boolean): Float

Returns RectF.right if isLtr is true, and RectF.left otherwise.