get_position


Description:

[ Version ( since = "0.6" ) ]
public void get_position (out float x, out float y)

This function tries to "do what you mean" and tell you where the actor is, prior to any transformations.

Retrieves the fixed position of an actor in pixels, if one has been set; otherwise, if the allocation is valid, returns the actor's allocated position; otherwise, returns 0,0.

The returned position is in pixels.

Parameters:

this

a Actor

x

return location for the X coordinate, or null

y

return location for the Y coordinate, or null