Enum Class Gravity

java.lang.Object
java.lang.Enum<Gravity>
org.gnome.pango.Gravity
All Implemented Interfaces:
Enumeration, Serializable, Comparable<Gravity>, Constable

@Generated("io.github.jwharm.JavaGI") public enum Gravity extends Enum<Gravity> implements Enumeration
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 Pango.Matrix, and then glyph orientation is controlled using PangoGravity.

Not every value in this enumeration makes sense for every usage of PangoGravity; for example, AUTO only can be passed to Context.setBaseGravity(org.gnome.pango.Gravity) and can only be returned by Context.getBaseGravity().

See also: Pango.GravityHint