move_by


Description:

[ Version ( since = "0.2" ) ]
public void move_by (float dx, float dy)

Moves an actor by the specified distance relative to its current position in pixels.

This function modifies the fixed position of an actor and thus removes it from any layout management. Another way to move an actor is with an anchor point, see set_anchor_point, or with an additional translation, using set_translation.

Parameters:

this

A Actor

dx

Distance to move Actor on X axis.

dy

Distance to move Actor on Y axis.




2022 vala-language.org