Alignment

PangoAlignment describes how to align the lines of a PangoLayout within the available space.

If the PangoLayout is set to justify using method@Pango.Layout.set_justify, this only affects partial lines.

See method@Pango.Layout.set_auto_dir for how text direction affects the interpretation of PangoAlignment values.

Entries

Link copied to clipboard

Put all available space on the right

Link copied to clipboard

Center the line within the available space

Link copied to clipboard

Put all available space on the left

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Alignment

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.