VMPrint API Reference - v1.0.0
    Preparing search index...

    Interface ZoneDefinition

    A spatial region on a zone-map element.

    A ZoneDefinition is NOT an Element — it is a region descriptor. It has no type, no children, and no DOM-style nesting semantics. It describes a bounded area on the page map and the actors (elements) assigned to inhabit that area. Each zone runs an independent, non-paginating layout pass.

    interface ZoneDefinition {
        elements: Element[];
        id?: string;
        region?: ZoneRegionRect;
        style?: Record<string, any>;
    }
    Index

    Properties

    elements: Element[]

    Block-level elements assigned to this zone. Laid out independently of all other zones.

    id?: string

    Optional identifier for the zone (for debugging and future linked-frame support).

    Optional explicit region geometry in zone-field local/world coordinates.

    style?: Record<string, any>

    Per-zone style overrides (e.g. backgroundColor for the zone cell background).