Prev Up Next
Overall structure File Format Layers

Globals

Functions for global parameters:

layout(format, orientation)

format is either the name of a predefined paper-format or a tuple (width, height) in pt. See Sketch/Lib/pagelayout.py for a list of predefined paper-formats.

orientation is 0 for portrait or 1 for landscape.

dstyle(name)

Define the style named name (a string). The preceding functions define the properties of this style. See the section on properties for details.


Overall structure File Format Layers
Prev Up Next