AnnotationPresetCallback typedef
AnnotationPresetCallback = _AnonymousFunction_1108930
This callback can be used in the NutrientViewer.Instance#setAnnotationPresets setAnnotationPresets() method to do atomic updates to the current annotation presets.
Example:
Use ES2015 arrow functions and the update callback to reduce boilerplate
```ts
instance.setAnnotationPresets(presets => {
presets.custom = {
strokeWidth: 10,
};
return presets;
});
Returns The new annotation presets
Implementation
typedef AnnotationPresetCallback = _AnonymousFunction_1108930;