drawTo

open override fun drawTo(p: Vector2)(source)

Drawing move from the current to the given position. Called for each point of a contour, excluding the start point.

  • For linear segments: It is called with the end of each segment.

  • For bezier segments: Called for all points of the curve, approximated with adaptivepositions using distanceTolerance.