PageFormat#

Import

from scenet import PageFormat

Defined in

scenet.ir (source)

Install

pip install scenet

Since

0.10

Stability

Public: follows semantic versioning. Below 1.0, a minor release may change it, and the CHANGELOG says how.

class scenet.ir.PageFormat[source]#

Bases: Strict

The page every panel on it is laid out on.

In the same units a panel uses, and a unit prints as a tenth of a millimetre: the default page prints at 200 x 300 mm, and a US comic’s 6.625 x 10.25 inches is size: [1682.75, 2603.5].

Example

>>> from scenet import PageFormat
>>> PageFormat().size
(2000.0, 3000.0)

See also

PageLayout, which holds it.

size: tuple[float, float]#

The page’s width and height: the trim, the size the printed page is cut to, in the units a panel uses. Printed, a unit is a tenth of a millimetre.

margin: float#

The blank border inside the page’s edge, on all four sides.

gutter: float#

The gap between two panels, or two columns, side by side in a tier.

tier_gutter: float#

The gap between two tiers, and between two panels stacked in a column. Wider than gutter, as in print, so a tier reads as one row.

bleed: float#

How far the printed sheet runs past the trim on every side, so art that reaches the edge can be cut cleanly: 30 is 3 mm. Paper around the page; nothing on it moves.

property width: float#

Page width.

property height: float#

Page height.