Skip to main content
Version: Version 5 beta

Interface: StampAnnotationRotateButtonInterface

Interface for the rotate button in stamp annotation popover.

Extends

  • EventHandlerInterface<"clicked", EventMap["PdfTools.popovers.stampAnnotation.rotateButton.clicked"]>

Properties

addEventListener()

addEventListener: (eventName, callback) => void

Adds an event listener for specified events.

Parameters

eventName

"clicked"

callback

(annotation, degree) => void

Returns

void

Inherited from

EventHandlerInterface.addEventListener


emitClicked()

emitClicked: (annotation, degree) => void

Emits a clicked event for the rotate button.

Parameters

annotation

StampAnnotation

The stamp annotation to be rotated.

degree

number

The degree of rotation.

Returns

void


removeEventListener()

removeEventListener: (eventName, callback) => void

Removes an event listener for specified events.

Parameters

eventName

"clicked"

callback

(annotation, degree) => void

Returns

void

Inherited from

EventHandlerInterface.removeEventListener