I have tried to set text on lineshapes and I’m able to do it. Problem is that the text has an annoying white background such that it covers up most of my shapes on the canvas. Does anyone know of how I can set the background to be transparent?
Hi all,
I have tried to set text on lineshapes and I'm able to do it. Problem is that the text has an annoying white background such that it covers up most of my shapes on the canvas. Does anyone know of how I can set the background to be transparent?
You can probably do this by deriving a class from LineShape and overriding DrawRegion and/or EraseRegion to handle drawing the text how you want it done.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!