It looks like you're new here. If you want to get involved, click one of these buttons!
Hi-
I noticed that on latest versions (i tried on 0.30.5), markers frames always show when adding a marker to LayoutView (0.28.5 does not do that).
Is there a way to turn off marker frames?
I also tried to set the frame color to be the same as the background color but it sets both the marker and the frame.
Thanks!
def addTextMarker(self,layoutView, x,y,string,color):
m = pya.Marker(layoutView)
bgColor = pya.QColor(layoutView.get_config("background-color"))
m.color = color.red*65536 + color.green*256 + color.blue
m.frame_color = bgColor.red*65536 + bgColor.green*256 + bgColor.blue
m.set_text(pya.DText(string,pya.DTrans(pya.DPoint(x,y))))
m.line_width = 10