| Globals | File Format | Objects |
There are three kinds of layers, normal layers, grid layers and guide layers.
Normal layers and guide layers can contain other objects. All objects defined after a layer function are part of that layer. A layer is implicitly closed by another layer function or the end of file.
The layer functions:
Start a normal layer named name (a string). The booleans visible,printable, locked and outlined determine whether the layer is visible, printable, locked or only shown outlined.
outline_color defines the color used for the outlines of the objects in the layer.
Define the grid-layer. The geometry is a tuple of the form (xorig, yorig, xwidth, ywidth)
Start the guide layer. The arguments are the same as for the normal layer, but the arguments printable and outlined will be ignored and set to 0 and 1 respectively.
| Globals | File Format | Objects |