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
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
Returns
void
Inherited from
EventHandlerInterface.removeEventListener