How to change the default thickness of the annotation while drawing new annotation on the image
Currently if the thickness is selected and draw annotation then it works. but want to change default thickness because it is very thin.
Below attached image having circle and rectangle annotation with default thickness(marked
)
Below is my code:
import PathologyViewingApp from './plugins/PathologyViewingApp'; import PathologyReport from './plugins/PathologyReport'; import miradorAnnotationPlugins from 'mirador-annotations'; import AnnototAdapter from 'mirador-annotations/es/AnnototAdapter';
<Router>
<Mirador
config={{
annotation: {
adapter: (canvasId) =>
new AnnototAdapter(
canvasId,
`${base_ehr_crud_url}/pathds/api/v1/annotation/annotot`
),
exportLocalStorageAnnotations: false,
},
id: 'mirador',
osdConfig: {
crossOriginPolicy: 'use-credentials',
timeout: 100000,
},
}}
plugins={[
PathologyReport,
PathologyViewingApp,
...miradorAnnotationPlugins,
]}
/>
</Router>
useEffect(() => { mirador.viewer( { ...config, windows: [{ loadedManifest: json && json.loaded_manifest }], window: { allowClose: false, defaultSideBarPanel: 'annotations' }, }, [...plugins] ); }, [config, json, plugins]);