FontDescription.setGravity

Sets the gravity field of a font description.

The gravity field specifies how the glyphs should be rotated. If gravity is pango.types.Gravity.Auto, this actually unsets the gravity mask on the font description.

This function is seldom useful to the user. Gravity should normally be set on a pango.context.Context.

class FontDescription
void
setGravity

Parameters

gravity pango.types.Gravity

the gravity for the font description.