Hi,

I am trying to fill a ROI with a preferable transparent color - is there 
any way i can do it? 

unfortunately a ROI does not have a function like 

roi.setBrush(some_brush)

So far i didn't find the right method. There is the setPen 
<http://www.pyqtgraph.org/documentation/graphicsItems/roi.html?highlight=setpen#pyqtgraph.ROI.setPen>Method,
 
but it only configure how the edges are drawn. I am not an expert in the 
Qt-Graphicsview world - i hope there is a widget or any other Qt-object 
'behind' the ROI which i can access and set a background color to.. Any 
help in that direction is greatly appreciated :-)

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/9fa20066-527e-41ca-8087-f325921bd15a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to