Laying panels out on pages: the values#

The enumerations and values of this group, each the word an author writes.

Corner#

Import

from scenet import Corner

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.Corner[source]#

Bases: StrEnum

Which corner of its parent an inset sits in.

Example

>>> from scenet import Corner, Inset
>>> Inset(use="detail", at="top_right", size=0.3).at is Corner.TOP_RIGHT
True

See also

Inset, whose at takes one.

TOP_LEFT = 'top_left'#
TOP_RIGHT = 'top_right'#
BOTTOM_LEFT = 'bottom_left'#
BOTTOM_RIGHT = 'bottom_right'#

InsetOrder#

Import

from scenet import InsetOrder

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.InsetOrder[source]#

Bases: StrEnum

Whether an inset is read before the panel it sits in, or after it.

Example

>>> from scenet import Inset, InsetOrder
>>> Inset(use="detail", at="top_right", size=0.3).read is InsetOrder.AFTER
True

See also

Inset, whose read takes one.

BEFORE = 'before'#
AFTER = 'after'#