Annotations
AnnotationPreset
Detailed reference for AnnotationPreset.
Preset model used to define default style, color, and behavior for annotation creation.
Type details
- Kind:
type - Declared members:
8
Declaration
export type AnnotationPreset = {
color?: { r: number; g: number; b: number; transparent?: boolean } | null;
fillColor?: { r: number; g: number; b: number; transparent?: boolean } | null;
strokeWidth?: number;
opacity?: number;
blendMode?: BlendMode;
stampType?: PdfStampType | null;
title?: string | null;
subtitle?: string | null;
[key: string]: unknown;
};
Members
colorfillColorstrokeWidthopacityblendModestampTypetitlesubtitle
Related instance methods
applyRedactionscalculateFittingTextAnnotationBoundingBoxcreateHighlightFromSelectioncreateLinkFromSelectioncreateNoteFromSelectioncreateSquigglyFromSelectioncreateStrikeoutFromSelectioncreateUnderlineFromSelectiondeleteAnnotationsGroupgetAnnotationCreatorNamegetAnnotationModegetAnnotationsgetAnnotationsGroupsgetAnnotationToolbarItemsgetCurrentAnnotationPresetgetInkSignaturesgetInlineTextSelectionToolbarItemsgetMarkupAnnotationTextgetOverlappingAnnotationsgetSelectedAnnotationsgetSelectiongetSignaturesInfogetStoredSignaturesgetTextSelectiongroupAnnotationssetAnnotationCreatorNamesetAnnotationModesetAnnotationPresetssetAnnotationToolbarItemssetCurrentAnnotationPresetsetEditableAnnotationTypessetEditingAnnotationsetInkSignaturessetInlineTextSelectionToolbarItemssetIsEditableAnnotationsetOnAnnotationResizeStartsetOnWidgetAnnotationCreationStartsetSelectedAnnotationssetSignaturesLTVsetStampAnnotationTemplatessetStoredSignatures