QGraphicsPolygonItem Class Reference
[QtGui module]
Inherits QAbstractGraphicsShapeItem.
Methods
- __init__ (self, QGraphicsItem parent = None, QGraphicsScene scene = None)
- __init__ (self, QPolygonF, QGraphicsItem parent = None, QGraphicsScene scene = None)
- QRectF boundingRect (self)
- bool contains (self, QPointF)
- Qt.FillRule fillRule (self)
- bool isObscuredBy (self, QGraphicsItem)
- QPainterPath opaqueArea (self)
- paint (self, QPainter, QStyleOptionGraphicsItem, QWidget widget = None)
- QPolygonF polygon (self)
- setFillRule (self, Qt.FillRule)
- setPolygon (self, QPolygonF)
- QPainterPath shape (self)
- int type (self)
Detailed Description
Method Documentation
QGraphicsPolygonItem.__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 QGraphicsPolygonItem.boundingRect (self)
bool QGraphicsPolygonItem.contains (self, QPointF)
Qt.FillRule QGraphicsPolygonItem.fillRule (self)
bool QGraphicsPolygonItem.isObscuredBy (self, QGraphicsItem)
QPainterPath QGraphicsPolygonItem.opaqueArea (self)
QPolygonF QGraphicsPolygonItem.polygon (self)
QGraphicsPolygonItem.setFillRule (self, Qt.FillRule)
QGraphicsPolygonItem.setPolygon (self, QPolygonF)
QPainterPath QGraphicsPolygonItem.shape (self)
int QGraphicsPolygonItem.type (self)