pyjsdl :: font :: SysFont :: Class SysFont

Class SysFont

object --+    
         |    
      Font --+
             |
            SysFont

pyjsdl.font.SysFont

Instance Methods
 
__init__(self, name, size, bold=False, italic=False)
Return SysFont subclassed of Font. Arguments include name of a system font and size of font, with optional bold and italic style. The name argument can be a string of comma-delimited names to specify fallbacks and use a default font if none found.

Inherited from Font: __repr__, __str__, get_bold, get_italic, get_linesize, get_underline, render, set_bold, set_italic, set_underline, size

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, name, size, bold=False, italic=False)
(Constructor)

 
Return SysFont subclassed of Font. Arguments include name of a system font and size of font, with optional bold and italic style. The name argument can be a string of comma-delimited names to specify fallbacks and use a default font if none found.
Overrides: object.__init__