getTangent

fun getTangent(distance: Float): Point?

Pins distance to 0 <= distance <= getLength(), and then computes the corresponding tangent.

Return

null if there is no path, or a zero-length path was specified.