Gjsify LogoGjsify Logo

PangoGravity represents the orientation of glyphs in a segment of text.

This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity [structPango.Matrix], and then glyph orientation is controlled using PangoGravity.

Not every value in this enumeration makes sense for every usage of PangoGravity; for example, %PANGO_GRAVITY_AUTO only can be passed to [methodPango.Context.set_base_gravity] and can only be returned by [methodPango.Context.get_base_gravity].

See also: [enumPango.GravityHint]

Index

Enumeration Members

Enumeration Members

AUTO: number

Gravity is resolved from the context matrix

EAST: number

Glyphs are rotated 90 degrees counter-clockwise.

NORTH: number

Glyphs are upside-down.

SOUTH: number

Glyphs stand upright (default)

WEST: number

Glyphs are rotated 90 degrees clockwise.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method