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

Class GuiFont

source code

_object --+    
          |    
       Font --+
              |
_object --+   |
          |   |
      IFont --+
              |
             GuiFont

Proxy of C++ FIFE::GuiFont class

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code
 
__init__(self, *args)
__init__(FIFE::GuiFont self, IFont font) -> GuiFont
source code
 
getStringIndexAt(self, *args)
getStringIndexAt(GuiFont self, std::string const & text, int32_t x) -> int32_t
source code
 
drawString(self, *args)
drawString(GuiFont self, Graphics graphics, std::string const & text, int32_t x, int32_t y)
source code
 
setRowSpacing(self, *args)
setRowSpacing(GuiFont self, int32_t spacing)
source code
 
getRowSpacing(self)
getRowSpacing(GuiFont self) -> int32_t
source code
 
setGlyphSpacing(self, *args)
setGlyphSpacing(GuiFont self, int32_t spacing)
source code
 
getGlyphSpacing(self)
getGlyphSpacing(GuiFont self) -> int32_t
source code
 
setAntiAlias(self, *args)
setAntiAlias(GuiFont self, bool antiAlias)
source code
 
isAntiAlias(self)
isAntiAlias(GuiFont self) -> bool
source code
 
getAsImage(self, *args)
getAsImage(GuiFont self, std::string const & text) -> Image
source code
 
setColor(self, *args)
setColor(GuiFont self, uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) setColor(GuiFont self, uint8_t r, uint8_t g, uint8_t b)
source code
 
getColor(self)
getColor(GuiFont self) -> SDL_Color
source code
 
getWidth(self, *args)
getWidth(GuiFont self, std::string const & text) -> int32_t
source code
 
getHeight(self)
getHeight(GuiFont self) -> int32_t
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_GuiFont
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(FIFE::GuiFont self, IFont font) -> GuiFont

Overrides: IFont.__init__

setRowSpacing(self, *args)

source code 

setRowSpacing(GuiFont self, int32_t spacing)

Overrides: IFont.setRowSpacing

getRowSpacing(self)

source code 

getRowSpacing(GuiFont self) -> int32_t

Overrides: IFont.getRowSpacing

setGlyphSpacing(self, *args)

source code 

setGlyphSpacing(GuiFont self, int32_t spacing)

Overrides: IFont.setGlyphSpacing

getGlyphSpacing(self)

source code 

getGlyphSpacing(GuiFont self) -> int32_t

Overrides: IFont.getGlyphSpacing

setAntiAlias(self, *args)

source code 

setAntiAlias(GuiFont self, bool antiAlias)

Overrides: IFont.setAntiAlias

isAntiAlias(self)

source code 

isAntiAlias(GuiFont self) -> bool

Overrides: IFont.isAntiAlias

setColor(self, *args)

source code 

setColor(GuiFont self, uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) setColor(GuiFont self, uint8_t r, uint8_t g, uint8_t b)

Overrides: IFont.setColor

getColor(self)

source code 

getColor(GuiFont self) -> SDL_Color

Overrides: IFont.getColor

getWidth(self, *args)

source code 

getWidth(GuiFont self, std::string const & text) -> int32_t

Overrides: IFont.getWidth

getHeight(self)

source code 

getHeight(GuiFont self) -> int32_t

Overrides: IFont.getHeight