Package fife :: Module fife :: Class SubImageFont
[hide private]
[frames] | no frames]

Class SubImageFont

source code

 _object --+        
           |        
AbstractFont --+    
               |    
        FontBase --+
                   |
                  SubImageFont

Proxy of C++ FIFE::SubImageFont class

Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(self, string filename, string glyphs, ImagePool pool) -> SubImageFont
source code
 
setColor(self, *args)
setColor(self, Uint8 r, Uint8 g, Uint8 b, Uint8 a = 255) setColor(self, Uint8 r, Uint8 g, Uint8 b)
source code
 
getWidth(self, *args)
getWidth(self, string text) -> int
source code
int
getHeight(self) source code

Inherited from AbstractFont: getColor, getGlyphSpacing, getRowSpacing, isAntiAlias, setAntiAlias, setGlyphSpacing, setRowSpacing

Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_SubImageFont
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(self, string filename, string glyphs, ImagePool pool) -> SubImageFont

Overrides: AbstractFont.__init__

setColor(self, *args)

source code 

setColor(self, Uint8 r, Uint8 g, Uint8 b, Uint8 a = 255) setColor(self, Uint8 r, Uint8 g, Uint8 b)

Overrides: AbstractFont.setColor

getWidth(self, *args)

source code 

getWidth(self, string text) -> int

Overrides: AbstractFont.getWidth

getHeight(self)

source code 
Returns: int
Overrides: AbstractFont.getHeight