getStyle method
Query a font's current style.
The font styles are a set of bit flags, OR'd together:
TTF_STYLE_NORMAL(is zero)TTF_STYLE_BOLDTTF_STYLE_ITALICTTF_STYLE_UNDERLINETTF_STYLE_STRIKETHROUGH
\param font the font to query. \returns the current font style, as a set of bit flags.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL_ttf 3.0.0.
\sa TTF_SetFontStyle
extern SDL_DECLSPEC TTF_FontStyleFlags SDLCALL TTF_GetFontStyle(const TTF_Font *font)
{@category ttf}
Implementation
int getStyle() => ttfGetFontStyle(this);