new AnnotationLayerBuilder(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
AnnotationLayerBuilderOptions |
- Source:
Methods
render(viewport, intent) → {Promise.<void>}
Parameters:
Name | Type | Default | Description |
---|---|---|---|
viewport |
PageViewport | ||
intent |
string | display | (default value is 'display') |
- Source:
Returns:
A promise that is resolved when rendering of the
annotations is complete.
- Type
- Promise.<void>