MythTV  0.26-pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Public Attributes
mythburn.FontDef Class Reference

class to hold a font definition More...

List of all members.

Public Member Functions

def __init__
def getFont
def drawText

Public Attributes

 name
 fontFile
 size
 color
 effect
 shadowColor
 shadowSize
 font

Detailed Description

class to hold a font definition

Definition at line 216 of file mythburn.py.


Constructor & Destructor Documentation

def mythburn.FontDef.__init__ (   self,
  name = None,
  fontFile = None,
  size = 19,
  color = "white",
  effect = "normal",
  shadowColor = "black",
  shadowSize = 1 
)

Definition at line 217 of file mythburn.py.


Member Function Documentation

def mythburn.FontDef.getFont (   self)

Definition at line 227 of file mythburn.py.

def mythburn.FontDef.drawText (   self,
  text,
  color = None 
)

Definition at line 233 of file mythburn.py.


Member Data Documentation

Definition at line 217 of file mythburn.py.

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText().

Definition at line 217 of file mythburn.py.

Referenced by mythburn.FontDef.drawText(), and mythburn.FontDef.getFont().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends