Skip to content

getAlignment()

Return how the label's text lines up.

label.getAlignment()

Returns

return alignment

Value Type Description
alignment int The text alignment, one of LEFT, CENTER, or RIGHT.