Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Describes a spatial offset within a media element.

    interface IEpubCfiSpatialOffsetNode {
        assertion: IEpubCfiAssertionNode;
        srcOffset?: number;
        type: OFFSET_SPATIAL;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Properties

    The assertions associated with the offset if any.

    srcOffset?: number

    The character offset within the source EPUB CFI string corresponding to this node.

    The type of offset.

    x: number

    The x-coordinate as a value between 0 to 100.

    y: number

    The y-coordinate as a value between 0 to 100.