Colors for the text annotation

Hello everyone!

I’m writing a Python script that creates a number of text annotations in the Flagpole Actor display mode. I need a white background for a whole picture but the annotation lines between base and top points have white color. I can’t find how i can change the color of the line. Can i set different colors for the lines or change a color for all lines? How can I do it?

I fear it is not possible …

The only workaround I see is to create Line sources (that can be colored) and the python annotation for the text.

Thank for your answer. I thought about such solution but I’d like to find easy way because I have many text annotations and have to edit (turn off, turn on, change position) manually them after to get different pictures. Thus the work will double