parent
6c7bd87592
commit
d2255228ba
@ -416,6 +416,8 @@ class PlotCurveItem(GraphicsObject):
|
|||||||
self.setShadowPen(kargs['shadowPen'])
|
self.setShadowPen(kargs['shadowPen'])
|
||||||
if 'fillLevel' in kargs and kargs['fillLevel'] is not None:
|
if 'fillLevel' in kargs and kargs['fillLevel'] is not None:
|
||||||
self.setFillLevel(kargs['fillLevel'])
|
self.setFillLevel(kargs['fillLevel'])
|
||||||
|
if 'fillOutline' in kargs:
|
||||||
|
self.opts['fillOutline'] = kargs['fillOutline']
|
||||||
if 'brush' in kargs and kargs['brush'] is not None:
|
if 'brush' in kargs and kargs['brush'] is not None:
|
||||||
self.setBrush(kargs['brush'])
|
self.setBrush(kargs['brush'])
|
||||||
if 'antialias' in kargs:
|
if 'antialias' in kargs:
|
||||||
@ -534,6 +536,9 @@ class PlotCurveItem(GraphicsObject):
|
|||||||
cp = fn.mkPen(self.opts['pen'])
|
cp = fn.mkPen(self.opts['pen'])
|
||||||
|
|
||||||
p.setPen(cp)
|
p.setPen(cp)
|
||||||
|
if self.opts['fillOutline'] and self.fillPath is not None:
|
||||||
|
p.drawPath(self.fillPath)
|
||||||
|
else:
|
||||||
p.drawPath(path)
|
p.drawPath(path)
|
||||||
profiler('drawPath')
|
profiler('drawPath')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user