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

If #SHADOW is set, GetFormStyle() 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 shape 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 SetFormStyle for more information on form styles.

Inputs
none

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

Show TOC