getGravity

open fun getGravity(): Gravity

Retrieves the gravity for the context.

This is similar to method@Pango.Context.get_base_gravity, except for when the base gravity is %PANGO_GRAVITY_AUTO for which func@Pango.Gravity.get_for_matrix is used to return the gravity from the current context matrix.

Return

the resolved gravity for the context.

Since

1.16