onLine

fun Offset.onLine(other: Offset, ratio: Float): Offset