| Home | Trees | Index | Help |
|---|
| Package pygame :: Class Surface |
|
object --+
|
Surface
FaderSurface| Method Summary | |
|---|---|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
Surface.copy(): return Surface create a new copy of a Surface | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
Surface.blit(source, dest, area=None, special_flags = 0): return Rect draw one image onto another | |
Surface.convert(Surface): return Surface Surface.convert(depth, flags=0): return Surface Surface.convert(masks, flags=0): return Surface Surface.convert(): return Surface change the pixel format of an image | |
Surface.convert_alpha(Surface): return Surface Surface.convert_alpha(): return Surface change the pixel format of an image including per pixel alphas | |
Surface.copy(): return Surface create a new copy of a Surface | |
Surface.fill(color, rect=None, special_flags=0): return Rect fill Surface with a solid color | |
Surface.get_abs_offset(): return (x, y) find the absolute position of a child subsurface inside its top level parent | |
Surface.get_abs_parent(): return Surface find the top level parent of a subsurface | |
Surface.get_alpha(): return int_value or None get the current Surface transparency value | |
Surface.get_at((x, y)): return Color get the color value at a single pixel | |
Surface.get_bitsize(): return int get the bit depth of the Surface pixel format | |
Surface.get_buffer(): return BufferProxy acquires a buffer object for the pixels of the Surface. | |
Surface.get_bytesize(): return int get the bytes used per Surface pixel | |
Surface.get_clip(): return Rect get the current clipping are of the Surface | |
Surface.get_colorkey(): return RGB or None Get the current transparent colorkey | |
Surface.get_flags(): return int get the additional flags used for the Surface | |
Surface.get_height(): return height get the height of the Surface | |
Surface.get_locked(): return bool test if the Surface is current locked | |
Surface.get_losses(): return (R, G, B, A) the significant bits used to convert between a color and a mapped integer | |
Surface.get_masks(): return (R, G, B, A) the bitmasks needed to convert between a color and a mapped integer | |
Surface.get_offset(): return (x, y) find the position of a child subsurface inside a parent | |
Surface.get_palette(): return [RGB, RGB, RGB, ...] get the color index palette for an 8bit Surface | |
Surface.get_palette_at(index): return RGB get the color for a single entry in a palette | |
Surface.get_parent(): return Surface find the parent of a subsurface | |
Surface.get_pitch(): return int get the number of bytes used per Surface row | |
Surface.get_rect(**kwargs): return Rect get the rectangular area of the Surface | |
Surface.get_shifts(): return (R, G, B, A) the bit shifts needed to convert between a color and a mapped integer | |
Surface.get_size(): return (width, height) get the dimensions of the Surface | |
Surface.get_width(): return width get the width of the Surface | |
Surface.lock(): return None lock the Surface memory for pixel access | |
Surface.map_rgb(Color): return mapped_int convert a color into a mapped color value | |
Surface.mustlock(): return bool test if the Surface requires locking | |
Surface.set_alpha(value, flags=0): return None Surface.set_alpha(None): return None set the alpha value for the full Surface image | |
Surface.set_at((x, y), Color): return None set the color value for a single pixel | |
Surface.set_clip(rect): return None Surface.set_clip(None): return None set the current clipping area of the Surface | |
Surface.set_colorkey(Color, flags=0): return None Surface.set_colorkey(None): return None Set the transparent colorkey | |
Surface.set_palette([RGB, RGB, RGB, ...]): return None set the color palette for an 8bit Surface | |
Surface.set_at(index, RGB): return None set the color for a single index in an 8bit Surface palette | |
Surface.subsurface(Rect): return Surface create a new surface that references its parent | |
Surface.unlock(): return None unlock the Surface memory from pixel access | |
Surface.map_rgb(mapped_int): return Color convert a mapped integer color value into a Color | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
__copy__(...)Surface.copy(): return Surface create a new copy of a Surface |
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__repr__(x)
x.__repr__() <==> repr(x)
|
blit(...)Surface.blit(source, dest, area=None, special_flags = 0): return Rect draw one image onto another |
convert(...)Surface.convert(Surface): return Surface Surface.convert(depth, flags=0): return Surface Surface.convert(masks, flags=0): return Surface Surface.convert(): return Surface change the pixel format of an image |
convert_alpha(...)Surface.convert_alpha(Surface): return Surface Surface.convert_alpha(): return Surface change the pixel format of an image including per pixel alphas |
copy(...)Surface.copy(): return Surface create a new copy of a Surface |
fill(...)Surface.fill(color, rect=None, special_flags=0): return Rect fill Surface with a solid color |
get_abs_offset(...)Surface.get_abs_offset(): return (x, y) find the absolute position of a child subsurface inside its top level parent |
get_abs_parent(...)Surface.get_abs_parent(): return Surface find the top level parent of a subsurface |
get_alpha(...)Surface.get_alpha(): return int_value or None get the current Surface transparency value |
get_at(...)Surface.get_at((x, y)): return Color get the color value at a single pixel |
get_bitsize(...)Surface.get_bitsize(): return int get the bit depth of the Surface pixel format |
get_buffer(...)Surface.get_buffer(): return BufferProxy acquires a buffer object for the pixels of the Surface. |
get_bytesize(...)Surface.get_bytesize(): return int get the bytes used per Surface pixel |
get_clip(...)Surface.get_clip(): return Rect get the current clipping are of the Surface |
get_colorkey(...)Surface.get_colorkey(): return RGB or None Get the current transparent colorkey |
get_flags(...)Surface.get_flags(): return int get the additional flags used for the Surface |
get_height(...)Surface.get_height(): return height get the height of the Surface |
get_locked(...)Surface.get_locked(): return bool test if the Surface is current locked |
get_losses(...)Surface.get_losses(): return (R, G, B, A) the significant bits used to convert between a color and a mapped integer |
get_masks(...)Surface.get_masks(): return (R, G, B, A) the bitmasks needed to convert between a color and a mapped integer |
get_offset(...)Surface.get_offset(): return (x, y) find the position of a child subsurface inside a parent |
get_palette(...)Surface.get_palette(): return [RGB, RGB, RGB, ...] get the color index palette for an 8bit Surface |
get_palette_at(...)Surface.get_palette_at(index): return RGB get the color for a single entry in a palette |
get_parent(...)Surface.get_parent(): return Surface find the parent of a subsurface |
get_pitch(...)Surface.get_pitch(): return int get the number of bytes used per Surface row |
get_rect(...)Surface.get_rect(**kwargs): return Rect get the rectangular area of the Surface |
get_shifts(...)Surface.get_shifts(): return (R, G, B, A) the bit shifts needed to convert between a color and a mapped integer |
get_size(...)Surface.get_size(): return (width, height) get the dimensions of the Surface |
get_width(...)Surface.get_width(): return width get the width of the Surface |
lock(...)Surface.lock(): return None lock the Surface memory for pixel access |
map_rgb(...)Surface.map_rgb(Color): return mapped_int convert a color into a mapped color value |
mustlock(...)Surface.mustlock(): return bool test if the Surface requires locking |
set_alpha(...)Surface.set_alpha(value, flags=0): return None Surface.set_alpha(None): return None set the alpha value for the full Surface image |
set_at(...)Surface.set_at((x, y), Color): return None set the color value for a single pixel |
set_clip(...)Surface.set_clip(rect): return None Surface.set_clip(None): return None set the current clipping area of the Surface |
set_colorkey(...)Surface.set_colorkey(Color, flags=0): return None Surface.set_colorkey(None): return None Set the transparent colorkey |
set_palette(...)Surface.set_palette([RGB, RGB, RGB, ...]): return None set the color palette for an 8bit Surface |
set_palette_at(...)Surface.set_at(index, RGB): return None set the color for a single index in an 8bit Surface palette |
subsurface(...)Surface.subsurface(Rect): return Surface create a new surface that references its parent |
unlock(...)Surface.unlock(): return None unlock the Surface memory from pixel access |
unmap_rgb(...)Surface.map_rgb(mapped_int): return Color convert a mapped integer color value into a Color |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Jan 10 10:18:44 2008 | http://epydoc.sf.net |