Skip to main content

PaperAlignment

PaperAlignment = typeof PAPER_ALIGN_START | typeof PAPER_ALIGN_CENTER | typeof PAPER_ALIGN_END

Defines how to align the content in a Paper object. In most situations, the dimensions of the paper's content is not square, and the dimensions of the paper itself is not square either. When this is the case, there is one axis in which there is more whitespace than the other. This type identifies the strategies available for aligning the Paper content with respect to the whitespace. The default is to center it, in each axis.