A clipboard to use with a Surface widget, offering methods to copy data and to paste it.

Hierarchy (view full)

Methods

  • Removes all entries from the clipboard.

    Returns void

  • Copy some set of objects into the clipboard.

    Parameters

    • obj: Base | Path | Base[] | Selection<Edge | Node | Group>

      The object, or objects, to copy in to the clipboard.

    Returns void

  • Copies the contents of the associated Toolkit instance's current selection into the clipboard.

    Returns void

  • Copies and pastes the contents of the associated Toolkit instance's current selection into the clipboard. This method is equivalent to calling copyCurrentSelection() first and then calling paste(..).

    Parameters

    • Optional options: PasteOptions

      Options for the paste.

    Returns ClonedSet