Skip to content

getStyle()

Return the font's style.

font.getStyle()

Returns

return style

Value Type Description
style tuple The text style, one of Font.PLAIN, Font.BOLD, Font.ITALIC, or Font.BOLDITALIC.