PyQt5 - alignment() method for Label
In this article, we will see about alignment() method. This method is used to know the type of alignment the label is having. We use setAlignment() method to set the alignment, alignment() method returns the Qt.Alignment object which is the argument of the setAlignment() method. Syntax : label.align