Interface: ShapeAnnotationInterface
Interface for the shape annotation popover.
Extends
EventHandlerInterface
<"toggled"
,EventMap
["PdfTools.popovers.shapeAnnotation.toggled"
]>
Properties
addEventListener()
addEventListener: (
eventName
,callback
) =>void
Adds an event listener for specified events.
Parameters
• eventName: "toggled"
• callback
Returns
void
Inherited from
EventHandlerInterface.addEventListener
cloudShapeButton
cloudShapeButton:
ShapeAnnotationCloudShapeButtonInterface
Contextual menu actions related to the cloud shape button.
emitToggled()
emitToggled: (
active
) =>void
Emits a toggled event for the shape annotation.
Parameters
• active: boolean
Indicates whether the annotation is active or not.
Returns
void
void
fillColorPickerButton
fillColorPickerButton:
ShapeAnnotationFillColorPickerButtonInterface
Contextual menu actions related to the fill color picker button.
lineColorPickerButton
lineColorPickerButton:
ShapeAnnotationLineColorPickerButtonInterface
Contextual menu actions related to the line color picker button.
lineStyleButton
lineStyleButton:
ShapeAnnotationLineStyleButtonInterface
Contextual menu actions related to the line style button.
removeEventListener()
removeEventListener: (
eventName
,callback
) =>void
Removes an event listener for specified events.
Parameters
• eventName: "toggled"
• callback
Returns
void
Inherited from
EventHandlerInterface.removeEventListener