|
|
__contains__(self,
position)
Use ((x, y) in console) to check if a position is drawable on this
console. |
source code
|
|
|
|
blit(self,
source,
x=0,
y=0,
width=None,
height=None,
srcX=0,
srcY=0)
Blit another console or Window onto the current console. |
source code
|
|
|
|
drawChar(self,
x,
y,
char,
fgcolor=(255, 255, 255),
bgcolor=(0, 0, 0))
Draws a single character. |
source code
|
|
|
|
drawFrame(self,
x,
y,
width,
height,
string,
fgcolor=(255, 255, 255),
bgcolor=(0, 0, 0))
Similar to drawRect but only draws the outline of the rectangle. |
source code
|
|
|
|
drawRect(self,
x,
y,
width,
height,
string,
fgcolor=(255, 255, 255),
bgcolor=(0, 0, 0))
Draws a rectangle starting from x and y and extending to width and
height. |
source code
|
|
|
|
drawStr(self,
x,
y,
string,
fgcolor=(255, 255, 255),
bgcolor=(0, 0, 0))
Draws a string starting at x and y. |
source code
|
|
|
(int, int)
|
getSize(self)
Return the size of the console as (width, height) |
source code
|
|
|
|
scroll(self,
x,
y)
Scroll the contents of the console in the direction of x,y. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|