Skip to content
Kernstra
Docs
Web SDK
v1.0.0
/
Nothing matches “
”. Try an option name like
accentColor
or a method like
goToPage
.
Search could not load. Type again to retry.
Get started
(opens in a new tab)
Changelog
(opens in a new tab)
Playground
(opens in a new tab)
JavaScript PDF viewer
(opens in a new tab)
Get a free key
(opens in a new tab)
Docs
›
Web SDK
›
Configuration
›
Annotations
annotations.strokeWidths
Line weights (pt) for drawing and shapes. Sorted and de-duplicated. Shapes start at the listed weight nearest 2 pt.
readonly number[]
default 0.5, 1, 2, 4, 6
Copy link to this page
More in Annotations
Copy link
author
ownCommentsOnly
palette
highlightColors
noteColors
markSizes
borderStyles
lineEndings
Previous
noteColors
Next
markSizes