Contains character and color data and can be drawn to.
Any console created from the Console class is an off-screen console
that can be drawn on before being blit to the root
console.
|
__contains__(self,
position)
Use ((x, y) in console) to check if a position is drawable on this
console.
(Inherited from tdl._BaseConsole) |
source code
|
|
|
|
|
__del__(self)
If the main console is garbage collected then the window will be
closed as well |
source code
|
|
|
|
|
|
iter((x, y), ...)
|
|
|
|
|
|
(int, (r, g, b), (r, g, b))
|
|
(width, height)
|
|
iter((x, y), ...)
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
blit(self,
source,
x=0,
y=0,
width=None,
height=None,
srcX=0,
srcY=0)
Blit another console or Window onto the current console.
(Inherited from tdl._BaseConsole) |
source code
|
|
|
|
|
|
|
|
|
draw_rect(self,
x,
y,
width,
height,
string,
fg=Ellipsis,
bg=Ellipsis)
Draws a rectangle starting from x and y and extending to width and
height.
(Inherited from tdl._BaseConsole) |
source code
|
|
|
|
(x, y)
|
|
|
|
|
|
|
|
|
|
|
|