Difference between revisions of "Lua:Class:Font"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
− | '''Font Class''': (Inheritance: [[Object]]) | + | '''Font Class''': (Inheritance: ''[[Lua:Class:Object|Object]]'') |
===Related global functions=== | ===Related global functions=== | ||
Line 19: | Line 19: | ||
assign(font): Copies the contents of the font given as parameter to this font | assign(font): Copies the contents of the font given as parameter to this font | ||
− | |||
− | + | {{LuaSeeAlso}} |
Latest revision as of 01:51, 25 January 2018
Font Class: (Inheritance: Object)
Related global functions[edit]
createFont(): Returns a font object (default initialized based on the main ce window)
Properties[edit]
Name: string Size: integer Height: integer Orientation: integer Pitch: string - 'fpDefault', 'fpVariable', 'fpFixed' Color: integer CharSet: integer Quality: string - 'fqDefault', 'fqDraft', 'fqProof', 'fqNonAntialiased', 'fqAntialiased', 'fqCleartype', 'fqCleartypeNatural' Style: string set - ['fsBold', 'fsItalic', 'fsStrikeOut', 'fsUnderline']
Methods[edit]
assign(font): Copies the contents of the font given as parameter to this font