enum Pango::Alignment


Pango::Alignment describes how to align the lines of a Pango::Layout within the available space.

If the Pango::Layout is set to justify using Pango::Layout#justify=, this only affects partial lines.

See Pango::Layout#auto_dir= for how text direction affects the interpretation of Pango::Alignment values.

Defined in:


Enum Members

Left = 0_u32

Put all available space on the right

Center = 1_u32

Center the line within the available space

Right = 2_u32

Put all available space on the left

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.

[View source]

Instance Method Detail

def center? #

[View source]
def left? #

[View source]
def right? #

[View source]