moveStartBy

fun moveStartBy(translation: Vector2, updateTangents: Boolean = true)(source)

Moves the starting point of the contour edge by the given translation vector.

Return

a new instance of the contour edge with the starting point moved by the given translation.

Parameters

translation

the translation vector to apply to the starting point of the contour edge.

updateTangents

whether the tangents of adjacent segments should be updated after the transformation. Defaults to true.