Gravity.getForMatrix

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

Parameters

matrixa pango.matrix.Matrix

Returns

the gravity of matrix, which will never be

pango.types.Gravity.Auto, or pango.types.Gravity.South if matrix is null