initialState.annotations[type=' callout']
- type required
'callout' - Configuration for the callout annotation.
- start required
AgAnnotationPoint - The starting point of the annotation.
- end required
AgAnnotationPoint - The end point of the annotation.
- text required
string - The text content.
- handle
AgAnnotationHandleStyles - Configuration for the drag handles.
- color
AgCssColorOrRef - The colour for text elements. A colour string, or a theme-colour reference object.
- fontSize
FontSize - The size of the font in pixels for text elements.
- fontFamily
FontFamily - The font family for text elements.
- fontStyle
FontStyle - The style to use for text elements.
- fontWeight
FontWeight - The font weight to use for text elements.
- locked
booleandefault: false - Whether the annotation should be locked to prevent editing.
- readOnly
booleandefault: false - Whether the annotation should be read-only to prevent selection, editing and deletion.
- visible
boolean - Whether the element should be visible.
- stroke
AgCssColorOrRef - The colour for the stroke.
- strokeWidth
PixelSize - The width of the stroke in pixels.
- strokeOpacity
Opacity - The opacity of the stroke colour.
- fill
AgColorType - The colour for filling shapes. A colour string, or an object for a gradient, pattern, or image fill.
- fillOpacity
Opacity - The opacity of the fill colour.
initialState.annotations[type=' callout']
- type required
'callout' - Configuration for the callout annotation.
- start required
AgAnnotationPoint - The starting point of the annotation.
- end required
AgAnnotationPoint - The end point of the annotation.
- text required
string - The text content.
- handle
AgAnnotationHandleStyles - Configuration for the drag handles.
- color
AgCssColorOrRef - The colour for text elements. A colour string, or a theme-colour reference object.
- fontSize
FontSize - The size of the font in pixels for text elements.
- fontFamily
FontFamily - The font family for text elements.
- fontStyle
FontStyle - The style to use for text elements.
- fontWeight
FontWeight - The font weight to use for text elements.
- locked
booleandefault: false - Whether the annotation should be locked to prevent editing.
- readOnly
booleandefault: false - Whether the annotation should be read-only to prevent selection, editing and deletion.
- visible
boolean - Whether the element should be visible.
- stroke
AgCssColorOrRef - The colour for the stroke.
- strokeWidth
PixelSize - The width of the stroke in pixels.
- strokeOpacity
Opacity - The opacity of the stroke colour.
- fill
AgColorType - The colour for filling shapes. A colour string, or an object for a gradient, pattern, or image fill.
- fillOpacity
Opacity - The opacity of the fill colour.