Skip to content

Snapshot

🛈 DocStrings

Everything captured at one sample time.

Source code in src/framesheet/render.py
@dataclass
class Snapshot:
    """Everything captured at one sample time."""

    t: float
    image: Image.Image
    geometry: list[Any]
    """``[index, clientRect, userRect | None, visible]`` per rendered element."""
    overflow: list[Any] = field(default_factory=list)
    """HTML text overflow: ``[index, dx, dy]``."""

geometry instance-attribute

geometry: list[Any]

[index, clientRect, userRect | None, visible] per rendered element.

overflow class-attribute instance-attribute

overflow: list[Any] = field(default_factory=list)

HTML text overflow: [index, dx, dy].

:fa-brands-github: Show source on GitHub