Lua:Class:Font

From Cheat Engine
Revision as of 23:51, 17 January 2017 by Dark Byte (talk | contribs) (Created page with ''''Font Class''': (Inheritance: Object) ===Related global functions=== createFont(): Returns a font object (default initialized based on the main ce window) ===Properties==…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Font Class: (Inheritance: Object)

Related global functions

createFont(): Returns a font object (default initialized based on the main ce window)

Properties

 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

 assign(font): Copies the contents of the font given as parameter to this font