8.5.1.2. pymodaq_gui.examples.curves module
- class pymodaq_gui.examples.curves.Curve(pen='w')[source]
Bases:
GraphicsObjectBases:
GraphicsObjectItem displaying an isocurve of a 2D array. To align this item correctly with an ImageItem, call
isocurve.setParentItem(image).Methods
paint(self, painter, option[, widget])setBrush(*args, **kwargs)Set the brush used to draw the isocurve.
setData(data[, level])Set the data/image to draw isocurves for.
setPen(*args, **kwargs)Set the pen used to draw the isocurve.
generatePath
- paint(self, painter: QPainter | None, option: QStyleOptionGraphicsItem | None, widget: QWidget | None = None)[source]
- setBrush(*args, **kwargs)[source]
Set the brush used to draw the isocurve. Arguments can be any that are valid for
mkBrush