| | |
- __builtin__.object
-
- Surface
-
- ImageSurface
- Screen
- TextSurface
class ImageSurface(Surface) |
| | |
- Method resolution order:
- ImageSurface
- Surface
- __builtin__.object
Methods defined here:
- __del__(self)
- __init__(self, imagefile)
Methods inherited from Surface:
- blit(self, x, y, w, h)
- blitpart(self, srcx, srcy, destx, desty, w, h)
- fill(self, color)
- get_h(self)
- get_w(self)
Properties inherited from Surface:
- h
- Height of this surface
- get = get_h(self)
- w
- Width of this surface
- get = get_w(self)
Data and other attributes inherited from Surface:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Surface' objects>
- list of weak references to the object (if defined)
|
class Screen(Surface) |
| | |
- Method resolution order:
- Screen
- Surface
- __builtin__.object
Methods defined here:
- __del__(self)
- __init__(self, w, h, bpp=0, fullscreen=0)
- update(self, x, y, w, h)
Methods inherited from Surface:
- blit(self, x, y, w, h)
- blitpart(self, srcx, srcy, destx, desty, w, h)
- fill(self, color)
- get_h(self)
- get_w(self)
Properties inherited from Surface:
- h
- Height of this surface
- get = get_h(self)
- w
- Width of this surface
- get = get_w(self)
Data and other attributes inherited from Surface:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Surface' objects>
- list of weak references to the object (if defined)
|
class Surface(__builtin__.object) |
| |
A surface represents some graphics that can be displayed |
| |
Methods defined here:
- __del__(self)
- __init__(self, w, h)
- blit(self, x, y, w, h)
- blitpart(self, srcx, srcy, destx, desty, w, h)
- fill(self, color)
- get_h(self)
- get_w(self)
Properties defined here:
- h
- Height of this surface
- get = get_h(self)
- w
- Width of this surface
- get = get_w(self)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Surface' objects>
- list of weak references to the object (if defined)
|
class TextSurface(Surface) |
| |
represents a Surface with some text |
| |
- Method resolution order:
- TextSurface
- Surface
- __builtin__.object
Methods defined here:
- __del__(self)
- __init__(self, w, h)
- filltext(self, text, color, font, position)
Methods inherited from Surface:
- blit(self, x, y, w, h)
- blitpart(self, srcx, srcy, destx, desty, w, h)
- fill(self, color)
- get_h(self)
- get_w(self)
Properties inherited from Surface:
- h
- Height of this surface
- get = get_h(self)
- w
- Width of this surface
- get = get_w(self)
Data and other attributes inherited from Surface:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Surface' objects>
- list of weak references to the object (if defined)
| |