Name
GetFontStyle -- get current font style (V7.1)
Synopsis
style[, t] = GetFontStyle()
Function
This function returns the current font style set using SetFontStyle(). The return value style is set to a combination of the flags #BOLD, #ITALIC, #UNDERLINED, #ANTIALIAS, #SHADOW, and #EDGE. See SetFontStyle for details.

If #SHADOW is set, GetFontStyle() also returns a table as the second return value which contains the following fields:

ShadowColor:
The shadow color.

ShadowSize:
The distance of the shadow from the main text in pixels.

ShadowDir:
The direction of the shadow. This will be one of the directional constants.

If #EDGE is set, the return table will contain the following fields:

BorderColor:
The color of the border.

BorderSize:
The thickness of the border in pixels

See SetFontStyle for more information on font styles.

Inputs
none

Results
style
a combination of font style flags
t
optional: table containing additional style information (see above)

Show TOC