Context.setGravityHint

Sets the gravity hint for the context.

The gravity hint is used in laying vertical text out, and is only relevant if gravity of the context as returned by pango.context.Context.getGravity is set to pango.types.Gravity.East or pango.types.Gravity.West.

class Context
void
setGravityHint

Parameters

hint pango.types.GravityHint

the new gravity hint