rmapi-js
    Preparing search index...

    Interface SceneInfoBlock

    the 0x0d scene info block

    interface SceneInfoBlock {
        backgroundVisible?: LwwValue<boolean>;
        currentLayer: LwwValue<CrdtId>;
        currentVersion: number;
        extraData: Uint8Array;
        minVersion: number;
        paperSize?: [number, number];
        rootDocumentVisible?: LwwValue<boolean>;
        type: "sceneInfo";
    }

    Hierarchy

    • BlockCommon
      • SceneInfoBlock
    Index

    Properties

    backgroundVisible?: LwwValue<boolean>

    whether the background is visible

    currentLayer: LwwValue<CrdtId>

    the currently-selected layer's crdt id

    currentVersion: number

    the block's current version (selects the point encoding for lines)

    extraData: Uint8Array

    the unread tail of the block, preserved for round-tripping

    minVersion: number

    the block's minimum reader version

    paperSize?: [number, number]

    the page size in device pixels, if present

    rootDocumentVisible?: LwwValue<boolean>

    whether the underlying document is visible

    type: "sceneInfo"

    the block-type discriminant