MythTV
master
|
class to hold a font definition More...
Public Member Functions | |
def | __init__ (self, name=None, fontFile=None, size=19, color="white", effect="normal", shadowColor="black", shadowSize=1) |
def | getFont (self) |
def | drawText (self, text, color=None) |
Public Attributes | |
name | |
fontFile | |
size | |
color | |
effect | |
shadowColor | |
shadowSize | |
font | |
class to hold a font definition
Definition at line 260 of file mythburn.py.
def mythburn.FontDef.__init__ | ( | self, | |
name = None , |
|||
fontFile = None , |
|||
size = 19 , |
|||
color = "white" , |
|||
effect = "normal" , |
|||
shadowColor = "black" , |
|||
shadowSize = 1 |
|||
) |
Definition at line 261 of file mythburn.py.
def mythburn.FontDef.getFont | ( | self | ) |
Definition at line 271 of file mythburn.py.
def mythburn.FontDef.drawText | ( | self, | |
text, | |||
color = None |
|||
) |
Definition at line 277 of file mythburn.py.
mythburn.FontDef.name |
Definition at line 262 of file mythburn.py.
mythburn.FontDef.fontFile |
Definition at line 263 of file mythburn.py.
Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().
mythburn.FontDef.size |
Definition at line 264 of file mythburn.py.
Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().
mythburn.FontDef.color |
Definition at line 265 of file mythburn.py.
Referenced by mythburn.FontDef.drawText().
mythburn.FontDef.effect |
Definition at line 266 of file mythburn.py.
Referenced by mythburn.FontDef.drawText().
mythburn.FontDef.shadowColor |
Definition at line 267 of file mythburn.py.
Referenced by mythburn.FontDef.drawText().
mythburn.FontDef.shadowSize |
Definition at line 268 of file mythburn.py.
Referenced by mythburn.FontDef.drawText().
mythburn.FontDef.font |
Definition at line 269 of file mythburn.py.
Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().