CSS: Polygon Annotation

Polygon Annotation

.PSPDFKit-Annotation-Toolbar

The annotation toolbar is visible when a user creates or modifies an annotation. It contains annotation specific controls.

.PSPDFKit-Polygon-Annotation-Toolbar

The polygon annotation toolbar is visible when a user draws a new polygon annotation, or when an polygon annotation is selected to be modified.

.PSPDFKit-Polygon-Annotation-Toolbar-Stroke-Color

Is also: .PSPDFKit-Input-Color-Dropdown
Specifically access the stroke color picker for polygon annotations.

.PSPDFKit-Polygon-Annotation-Toolbar-Fill-Color

Is also: .PSPDFKit-Input-Color-Dropdown
Specifically access the background color picker for Polygon annotations.

.PSPDFKit-Polygon-Annotation-Toolbar-Opacity

Is also: .PSPDFKit-Input-Dropdown
Specifically access the opacity slider for polygon annotations.

.PSPDFKit-Polygon-Annotation-Toolbar-StrokeWidth

Is also: .PSPDFKit-Input-Dropdown
Specifically access the line-width slider for polygon annotations.

.PSPDFKit-Polygon-Annotation-Toolbar-Button-Delete

Is also: .PSPDFKit-Toolbar-Button
The button to delete a polygon annotation is only visible when the annotation is already saved and currently selected. It does not show up when the user starts to create a new polygon annotation.

.PSPDFKit-Polygon-Annotation

Is also: .PSPDFKit-Annotation
The polygon annotation in the document. It's styled by the properties of the annotation.