|

FontData



CONSTANT


VALUE DESCRIPTION


FW_DONTCARE


0


Font weight not specified.

(table) A table of font information. Pass nil to use the default grid font. This is an optional argument and if omitted will default to nil. All values are optional and if omitted, the default will be used.



KEY


TYPE DESCRIPTION


FaceName


string


The face name such as "Arial" or "Verdana".


Height


number


The font height (in points).


Weight


number


The weight of the font (how 'dark' the text will appear):



Italic


boolean


True if the font should be set to italic, false if it should not be.


Underline


boolean


True if the it should be underlined, false if it should not be.



FW_THIN


100


Font weight 'thin'.


FW_EXTRALIGHT


200


Font weight 'extra-light'.


FW_LIGHT


300


Font weight 'light'.


FW_NORMAL


400


Font weight 'normal'.


FW_MEDIUM


500


Font weight 'medium'.


FW_SEMIBOLD


600


Font weight 'semi-bold'.


FW_BOLD


700


Font weight 'bold'.


FW_EXTRABOLD


800


Font weight 'extra bold'.


FW_HEAVY


900


Font weight 'heavy'.

|