Logo Search packages:      
Sourcecode: aewan version File versions  Download package

aewan::AeLayer Class Reference

List of all members.


Detailed Description

Represents each of the layers in an aewan document. Attributes:

name
width
height
visible - 1 if layer is marked as visible, 0 otherwise
transparent - 1 if layer is marked as transparent, 0 otherwise

char[height][width] - the character at each position in the layer
attr[height][width] - the attribute of each position in the layer

Please note that the char and attr matrices are addressed
with indexes [y][x], NOT the more intuitive [x][y].

Definition at line 69 of file aewan.py.


Public Member Functions

def __init__
def render

Public Attributes

 attr
 char
 height
 name
 transparent
 visible
 width

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index