Tier#
Import |
|
Defined in |
|
Install |
|
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.Tier[source]#
Bases:
StrictA row of panels read in turn, or of columns each read top to bottom.
Columns are how a tall panel beside a stack of short ones is written. The stack is read down before the page is read across, which is what readers do when a panel spanning the tier blocks the way across (Cohn, Navigating Comics, 2013).
A tier of panels can lean the gutters between them by
slantdegrees, for a beat that should not sit square: each gutter tilts about its centre at the tier’s mid-height, neighbours share the cut, and the tier’s outer edges stay upright.Example
>>> from scenet import Tier >>> tier = Tier(panels=[{"use": "wide"}, {"use": "narrow", "width": 0.5}]) >>> [placement.width for placement in tier.panels] [1.0, 0.5]
- panels: tuple[PanelPlacement, ...]#
The panels in the tier, in reading order: left to right, or right to left for a comic read that way.
- columns: tuple[Column, ...]#
In place of
panels: columns side by side, each a stack of panels read top to bottom before the next.