Overview
Control the visual appearance of annotations and drawings on the canvas via the Viewer SDK.
Styles allow your application to customize the visual appearance of annotations, shapes, and measurements on the canvas. Set global defaults for stroke colors, fill colors, line widths, and transparency to maintain consistent branding across your documents.
Whether you need to match corporate color schemes or differentiate between user roles, the styling system gives you complete programmatic control over the canvas appearance via the Viewer instance.
Global Styles
Set default appearance for all new annotations and drawings.
Annotation Styles
Modify individual annotations and their visual styles.
API Reference
TypeScript interfaces and method signatures for styling.
The styling system provides comprehensive control over visual properties.
