PgContext.getGravity

Retrieves the gravity for the context. This is similar to Context.getBaseGravity, except for when the base gravity is PANGO_GRAVITY_AUTO for which pango_gravity_get_for_matrix() is used to return the gravity from the current context matrix.

class PgContext
getGravity
()

Return Value

the resolved gravity for the context.

Meta

Since

1.16