|
__init__(self,
size,
buffered)
Return Surface subclassed from a Canvas implementation.
The size argument is the dimension (w,h) of surface. |
|
|
|
onMouseMove(self,
sender,
x,
y) |
|
|
|
onMouseDown(self,
sender,
x,
y) |
|
|
|
onMouseUp(self,
sender,
x,
y) |
|
|
|
onMouseEnter(self,
sender) |
|
|
|
onMouseLeave(self,
sender) |
|
|
|
onMouseWheel(self,
event) |
|
|
|
|
|
onKeyDown(self,
sender,
keycode,
mods) |
|
|
|
onKeyUp(self,
sender,
keycode,
mods) |
|
|
|
onTouchInitiate(self,
event) |
|
|
|
onTouchStart(self,
event) |
|
|
|
|
|
|
|
onTouchCancel(self,
event) |
|
|
|
preventContextMenu(self,
setting=True)
Control contextmenu event.
Optional bool setting to prevent event, default to True. |
|
|
|
resize(self,
width,
height)
Resize surface. |
|
|
|
|
|
load_images(self,
images) |
|
|
|
onImagesLoaded(self,
images) |
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from surface.Surface :
__repr__ ,
__str__ ,
blit ,
copy ,
fill ,
getSubimage ,
get_at ,
get_colorkey ,
get_height ,
get_offset ,
get_parent ,
get_rect ,
get_size ,
get_width ,
replace_color ,
set_at ,
set_colorkey ,
subsurface ,
toDataURL
|