def METHOD_NAME(self):
    font_properties = {
        'x': self.ui.doubleSpinBox_x.value(),
        'y': self.ui.doubleSpinBox_y.value(),
        'horizontalalignment': self._horizontalalignment[
            self.ui.comboBox_horizontal_alignment.currentIndex()],
        'verticalalignment': self._verticalalignment[
            self.ui.comboBox_vertical_alignment.currentIndex()
        ],
        'fontsize': self.ui.spinBox_fontsize.value()
    }
    return font_properties