pyj2d :: font :: SysFont :: Class SysFont

Class SysFont

java.awt.Font --+    
                |    
             Font --+
                    |
                   SysFont

pyj2d.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_ascent, get_bold, get_descent, get_height, get_italic, get_linesize, get_underline, render, set_bold, set_italic, set_underline, size

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: Font.__init__