Package pilas :: Package motores :: Module motor_qt :: Class Superficie
[hide private]
[frames] | no frames]

Class Superficie

source code

object --+    
         |    
    Imagen --+
             |
            Superficie

Instance Methods [hide private]
 
__init__(self, ancho, alto)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
pintar(self, color) source code
 
pintar_parte_de_imagen(self, imagen, origen_x, origen_y, ancho, alto, x, y) source code
 
pintar_imagen(self, imagen, x=0, y=0) source code
 
texto(self, cadena, x=0, y=0, magnitud=10, fuente=None, color=colores.negro) source code
 
circulo(self, x, y, radio, color=colores.negro, relleno=False, grosor=1) source code
 
rectangulo(self, x, y, ancho, alto, color=colores.negro, relleno=False, grosor=1) source code
 
linea(self, x, y, x2, y2, color=colores.negro, grosor=1) source code
 
poligono(self, puntos, color, grosor, cerrado=False) source code
 
dibujar_punto(self, x, y, color=colores.negro) source code
 
limpiar(self) source code

Inherited from Imagen: __str__, alto, ancho, avanzar, cargar_jpeg, centro, dibujar

Inherited from Imagen (private): _dibujar_pixmap

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ancho, alto)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)