get_content_box


Description:

[ Version ( since = "1.10" ) ]
public ActorBox get_content_box ()

Retrieves the bounding box for the Content of this .

The bounding box is relative to the actor's allocation.

If no Content is set for this, or if this has not been allocated yet, then the result is undefined.

The content box is guaranteed to be, at most, as big as the allocation of the Actor .

If the Content used by the actor has a preferred size, then it is possible to modify the content box by using the content_gravity property.

Parameters:

this

a Actor

box

the return location for the bounding box for the Content