Python get fontstyle

5 Python code examples are found related to " get fontstyle". You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.
Example 1
Source File: text.py    From Mastering-Elasticsearch-7.0 with MIT License 5 votes vote down vote up
def get_fontstyle(self):
        """
        Return the font style as string

        See Also
        --------
        .font_manager.FontProperties.get_style
        """
        return self._fontproperties.get_style()