add_curve_to


Description:

public void add_curve_to (int x_1, int y_1, int x_2, int y_2, int x_3, int y_3)

Adds a CURVE_TO type node to the path.

This causes the actor to follow a bezier from the last node to (x_3, y_3) using (x_1, y_1 ) and (x_2,y_2) as control points.

Parameters:

this

a Path

x_1

the x coordinate of the first control point

y_1

the y coordinate of the first control point

x_2

the x coordinate of the second control point

y_2

the y coordinate of the second control point

x_3

the x coordinate of the third control point

y_3

the y coordinate of the third control point




2022 vala-language.org