PathBuilder.arcTo

Adds an elliptical arc from the current point to x3, y3 with x1, y1 determining the tangent directions.

After this, x3, y3 will be the new current point.

Note: Two points and their tangents do not determine a unique ellipse, so GSK just picks one. If you need more precise control, use gsk.path_builder.PathBuilder.conicTo or gsk.path_builder.PathBuilder.svgArcTo.

<picture> <source srcset="arc-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Arc To" src="arc-light.png"> </picture>

class PathBuilder
void
arcTo
(
float x1
,
float y1
,
float x2
,
float y2
)

Parameters

x1 float

x coordinate of first control point

y1 float

y coordinate of first control point

x2 float

x coordinate of second control point

y2 float

y coordinate of second control point