Gravity.getForMatrix

Finds the gravity that best matches the rotation component in a pango.matrix.Matrix.

struct Gravity
static
getForMatrix

Parameters

matrix pango.matrix.Matrix

Return Value

Type: pango.types.Gravity

the gravity of matrix, which will never be pango.types.Gravity.Auto, or pango.types.Gravity.South if matrix is null