Parameters
- annotation
- The annotation that must be drawn.
- pen
- The pen that must be used for drawing lines and curves of annotation.
- backgroundColor
- The color that must be used for filling the background of annotation.
- rect
- The rectangle in which annotation must be drawn.