ComPDFKit Web SDK
    Preparing search index...

    Enumeration SnapModes

    Snap targets of measurement and line tools; values can be combined. See setSnapMode.

    Index
    DEFAULT: 14

    The default combination: LINE_MID_POINT, LINE_INTERSECTION and PATH_ENDPOINT.

    LINE_INTERSECTION: 4

    Snap to the intersection of two lines.

    LINE_MID_POINT: 2

    Snap to the midpoint of a line.

    PATH_ENDPOINT: 8

    Snap to the endpoint of a path.

    POINT_ON_LINE: 1

    Snap to the nearest point on a line.