get_gravity


Description:

[ Version ( since = "1.16" ) ]
public Gravity get_gravity ()

Retrieves the gravity for the context.

This is similar to [[email protected]_base_gravity], except for when the base gravity is pango_gravity_auto for which [[email protected]_for_matrix] is used to return the gravity from the current context matrix.

Parameters:

this

a `PangoContext`

Returns:

the resolved gravity for the context.




2022 vala-language.org