setAlignment

@CanIgnoreReturnValue
open fun setAlignment(@NonNull alignment: Layout.Alignment): StaticLayoutBuilderCompat

Set the alignment. The default is ALIGN_NORMAL.

Return

this builder, useful for chaining

Parameters

alignment

Alignment for the resulting StaticLayout