ComPDFKit Web SDK
    Preparing search index...

    Class LineControlHandle

    Handle on an end point of a line.

    Hierarchy (View Summary)

    Index
    • Creates a control handle.

      Parameters

      • Optionalx: number

        X of the handle center in page coordinates.

      • Optionaly: number

        Y of the handle center in page coordinates.

      • Optionalwidth: number

        Width in screen pixels; 8 by default.

      • Optionalheight: number

        Height in screen pixels; 8 by default.

      Returns LineControlHandle

    • ctx is the annotation layer (device coordinates); the handle is drawn as a small solid square (7 screen pixels, #1460F3); override this method to change the drawing.

      Parameters

      Returns void

    height: number

    Height in screen pixels; 8 by default.

    width: number

    Width in screen pixels; 8 by default.

    x: number

    X of the handle center in page coordinates.

    y: number

    Y of the handle center in page coordinates.