QGraphicsPathItem Class Reference
[QtGui module]
Inherits QAbstractGraphicsShapeItem.
Methods
- __init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, QPainterPath, QGraphicsItem parent = None, QGraphicsScene scene = None)
- QRectF boundingRect (self)
- bool contains (self, QPointF)
- bool isObscuredBy (self, QGraphicsItem)
- QPainterPath opaqueArea (self)
- paint (self, QPainter, QStyleOptionGraphicsItem, QWidget widget = None)
- QPainterPath path (self)
- setPath (self, QPainterPath)
- QPainterPath shape (self)
- int type (self)
Detailed Description
Method Documentation
QGraphicsPathItem.__init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The scene argument, if not None, causes self to be owned by Qt instead of PyQt.
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The scene argument, if not None, causes self to be owned by Qt instead of PyQt.
QRectF QGraphicsPathItem.boundingRect (self)
bool QGraphicsPathItem.contains (self, QPointF)
bool QGraphicsPathItem.isObscuredBy (self, QGraphicsItem)
QPainterPath QGraphicsPathItem.opaqueArea (self)
QPainterPath QGraphicsPathItem.path (self)
QGraphicsPathItem.setPath (self, QPainterPath)
QPainterPath QGraphicsPathItem.shape (self)
int QGraphicsPathItem.type (self)