Type Alias: AnnotationRenderStyle
Less than 1 minute
@ghentcdh/annotated-text / AnnotationRenderStyle
Type Alias: AnnotationRenderStyle
AnnotationRenderStyle = typeof
DefaultAnnotationRenderStyle
Defined in: libs/core/src/lib/adapter/annotation/renderer/annotation-render.ts:281
Type definition for the default annotation style structure.
Custom style types can extend this to add additional properties while maintaining compatibility with the base rendering system.
Example
// Extend with custom properties
type CustomStyle = AnnotationRenderStyle & {
shadowBlur: number;
shadowColor: string;
};
class CustomRenderer extends AnnotationRender<CustomStyle> {
// Implementation
}