quadTo

fun quadTo(x1: Float, y1: Float, x2: Float, y2: Float): PathBuilder

Adds quad from last point towards (x1, y1), to (x2, y2).

Return

this builder for chaining

Parameters

x1

control point of quad on x-axis

y1

control point of quad on y-axis

x2

end point of quad on x-axis

y2

end point of quad on y-axis


fun quadTo(p1: Point, p2: Point): PathBuilder

Adds quad from last point towards point p1, to point p2.

Return

this builder for chaining

Parameters

p1

control point of added quad

p2

end point of added quad